FlourishFlourish / Create or Update Order

appKey: flourish
actionKey: create-or-update-order

Action Inputs

The following parameters are available when configuring this action:
destinationId
Destination Id
The Flourish Destination ID
string
facilityId
Facility Id
The Flourish facility where the outbound order will be fulfilled
string
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
destinationCity
Destination City
Destination Facility City
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
destinationPostalCode
Destination Postal Code
Destination Facility Postal Code
string | undefined
destinationState
Destination State
Destination Facility State
string | undefined
discounts
Discounts
| (
| string
| Array<{
discountAmount?: string
discountMethod?: 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
distributorCity
Distributor City
The city where the distributor is located
string | undefined
distributorFacilityLicense
Distributor Facility License
The license number for the distributor
string | undefined
distributorFacilityName
Distributor Facility Name
The name of the distributor
string | undefined
distributorId
Distributor Id
The Flourish Distributor ID
string | undefined
distributorPostalCode
Distributor Postal Code
Distributor Postal Code
string | undefined
distributorState
Distributor State
Distributor State
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
invoiceDate
Invoice Date
The invoice date in YYYY-MM-DD format, e.g. 2021-04-20
string | undefined
isApproved
Is Approved
boolean | undefined
notes
Notes
| (
| string
| Array<{
subject?: string
note?: string
internalOnly?: boolean
}>
)
| undefined
orderId
Order Id
If using a filter find method, the id of the order to update.
string | undefined
orderLines
Order Lines
| (
| string
| Array<{
itemId?: string
itemVariationPk?: string
strainId?: string
sku?: string
unitPrice?: string
discountPrice?: string
orderQty?: string
}>
)
| undefined
orderStatus
Order Status
string | undefined
originalOrderId
Original Order Id
Order ID from source system
string | undefined
salesRepEmail
Sales Rep Email
Sales representative's email address
string | undefined
salesRepFirstName
Sales Rep First Name
Sales representative's first name
string | undefined
salesRepId
Sales Rep Id
Sales representative's Flourish ID
string | undefined
salesRepLastName
Sales Rep Last Name
Sales representative's last name
string | undefined
salesRepMiddleName
Sales Rep Middle Name
Sales representative's middle name
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