LeafLink / Create or Update Order
appKey:
leaflink
actionKey:
create-or-update-order
Action Inputs
The following parameters are available when configuring this action:
externalIdSeller
External Id Seller
Number assigned to the order by the seller company.
string | undefined
filter
Search by
Required if the find method is
filter
. The filter to search by. Accepted values are: - short_id
string | undefined
filterValue
Search value
Required if the
contactFindMethod
is filter
. The filter value to search by.string | undefined
findMethod
Find Method
The method to use to find the order. Accepted values are:
filter | select
('filter' | 'select') | undefined
lineItems
Line Items
| (| string| Array<{product: stringquantity: stringsalePriceAmount: stringsalePriceCurrency: stringorderUnitPriceAmount: stringorderUnitPriceCurrency: stringnotes?: stringisSample?: booleanunitMultiplier?: stringisMedicalLineItem?: booleanisPacked?: booleanpackedAt?: stringpackedBy?: stringposition?: stringbatch?: stringwholesalePriceAmount?: string}>)| undefined
salesReps
Sales Reps
(string | Array<string>) | undefined
shippingChargeAmount
Shipping Charge Amount
The shipping charge amount for the order.
string | undefined
shippingChargeCurrency
Shipping Charge Currency
The shipping charge currency for the order.
string | undefined
updateExistingOrder
Update Existing Order
Select to update an existing order.
If `true`, will update an existing order using the `findMethod` and its relevant configuration.
boolean | undefined