LeafLink / Create or Update Order
appKey:
leaflink
actionKey:
create-or-update-order
Action Inputs
The following parameters are available when configuring this action:
Seller's customer id for the company on the buyer side of the order.
Seller company id for this order.
deliveryPreferencesstring
Customer delivery preferences
discountstring
Discount value applied to the order.
discountTypestring
The type of discount. Accepted values are:
- %
- $
externalAccountIdstring
External account id.
externalIdSellerstring
Number assigned to the order by the seller company.
facilityIdstring
The id of the facility fulfilling the order.
filterstring
Required if the find method is
filter
. The filter to search by. Accepted values are: - short_id
filterValuestring
Required if the
contactFindMethod
is filter
. The filter value to search by.findMethod"filter" | "select"
The method to use to find the order. Accepted values are:
filter | select
internalNotesstring
Internal notes for the order.
lineItemsstring | array
notesstring
Notes for the order.
orderIdstring
If using a
filter
find method, the id of the order to update.paidboolean
Whether the order has been paid for.
paymentTermstring
Payment term for the order.
salesRepsstring | array
shippingChargeAmountstring
The shipping charge amount for the order.
shippingChargeCurrencystring
The shipping charge currency for the order.
statusstring
The status of the order. Accepted values are:
- Draft
- Submitted
taxAmountstring
The tax amount for the order.
taxTypestring
The type of tax. Accepted values are:
- %
- $
updateExistingOrderboolean
If `true`, will update an existing order using the `findMethod` and its relevant configuration.