POST
/
api-order
/
pos
/
orders

Headers

x-api-key
string
x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json
locationId
string
required
orderReference
string
required
status
string
required
channel
number
customerAccountId
string
customerEmail
string
customerPhone
object
customerUserId
string
orderCurrency
string
orderTotal
number
shipTo
object[]
statusLog
string
taxTotal
number

Response

200 - application/json
_id
string
attributes
any[]
channel
number
createdAt
string
customerAccountId
string
customerEmail
string
customerPhone
object
customerUserId
string
events
any[]
items
object[]
orderCurrency
string
orderId
string
orderReference
string
orderTotal
number
payments
object[]
pickups
any[]
revision
number
shipments
any[]
shipTo
object[]
status
string
statusDescriptions
any[]
statusLog
string
tags
any[]
taxTotal
number
totalQuantity
number
updatedAt
string