GET
/
api-order
/
orders
/
user
/
guest

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.

Query Parameters

orderEmail
string
required

User email that we want to get orders for.

Response

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