CreateOrder
object
An order, sent for the discount phase. Send the whole cart each time; a repeated request with the
same external_order_id replaces the cart of the order in progress.
Fields
seller_idintegerRequiredThe seller the order is made at. See List sellers.
min 1
barcodestringRequiredWhat identifies the customer, as a POS reads it: the customer's Lynked barcode, a voucher code, a staff barcode (staff discount applies), a phone number or an email.
max 255 characters
external_order_idstringRequiredThe order id in your system. One order in progress per id.
max 255 characters
external_discountnumber | nullAn order-level discount you applied yourself, outside Lynked.
min 0
itemsarray of objectRequiredat least 1 item
10 fields
external_item_idstringRequiredThe line id in your system, unique within the order.
max 255 characters
external_product_idstring | nullmax 255 characters
skustringRequiredmax 255 characters
categorystringRequiredCategory path, levels separated by
/. Loyalty rules match on it.max 255 characters
product_namestringRequiredmax 255 characters
quantitynumberRequiredgreater than 0
totalnumberRequiredLine total before Lynked discounts.
min 0
taxnumber | nullmin 0
external_discountnumber | nullA discount on this line you applied yourself, outside Lynked.
min 0
supply_pricenumber | nullCost price of one unit. Staff discounts based on cost price use it.
min 0