Flourish / Create or Update Order
appKey:
flourish
actionKey:
create-or-update-order
Action Inputs
The following parameters are available when configuring this action:
charges
Charges
| (| string| Array<{chargeAmount?: string}>)| undefined
destinationAddressLine1
Destination Address Line 1
The first address line for the destination facility
string | undefined
destinationAddressLine2
Destination Address Line 2
The second address line for the destination facility
string | undefined
destinationFacilityLicense
Destination Facility License
The license number of the destination facility
string | undefined
destinationFacilityName
Destination Facility Name
The name of the destination facility
string | undefined
discounts
Discounts
| (| string| Array<{discountAmount?: stringdiscountMethod?: string}>)| undefined
distributorAddressLine1
Distributor Address Line 1
The first address line for the distributor
string | undefined
distributorAddressLine2
Distributor Address Line 2
The second address line for the distributor
string | undefined
distributorFacilityLicense
Distributor Facility License
The license number for the distributor
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
isApproved
Is Approved
boolean | undefined
notes
Notes
| (| string| Array<{subject?: stringnote?: stringinternalOnly?: boolean}>)| undefined
orderLines
Order Lines
| (| string| Array<{itemId?: stringitemVariationPk?: stringstrainId?: stringsku?: stringunitPrice?: stringdiscountPrice?: stringorderQty?: string}>)| undefined
orderStatus
Order Status
string | undefined
salesRepPhone
Sales Rep Phone
Sales representative's ten-digit phone number, e.g. 5551231234
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