Order
Create subscriptions orders
Create subscriptions orders
POST
https://prod01-apigw.{customer_name}.fabric.zone
/
api-order
/
subscriptions
/
orders
Headers
x-api-key
string
x-site-context
string
requiredThe 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
cartId
string
requiredRequired string length:
24
channel
number
requiredorderTotal
number
requiredRequired range:
x > 0
taxTotal
number
requiredRequired range:
x > 0
orderCurrency
string
requiredRequired string length:
3
status
enum<string>
requiredAvailable options:
ORDER_CREATED
, ORDER_CONFIRMED
, ORDER_CANCELLED
, ORDER_PARTIALLY_SHIPPED
, ORDER_SHIPPED
, ORDER_PARTIALLY_DELIVERED
, ORDER_DELIVERED
, ORDER_RETURNED
, ORDER_PARTIALLY_RETURNED
, ORDER_PAYMENT_AUTHORIZED
, ORDER_PAYMENT_INVALID
, ORDER_FULFILLED
, ORDER_PARTIALLY_FULFILLED
, ORDER_REFUNDED
customerUserId
string
requiredRequired string length:
24
shipTo
object[]
requiredorderReference
string
statusLog
string
customerAccountId
string
Minimum length:
3
customerEmail
string
Minimum length:
3
customerPhone
object
notes
string
Minimum length:
1
tags
string[]
events
object[]
Response
200 - application/json
tags
string[]
_id
string
channel
number
orderTotal
number
taxTotal
number
orderCurrency
string
status
string
statusLog
string
customerUserId
string
customerAccountId
string
customerEmail
string
customerPhone
object
orderId
string
shipTo
object[]
items
object[]
shipments
any[]
payments
object[]
revision
number
totalQuantity
number
statusDescriptions
any[]
events
any[]
attributes
any[]
createdAt
string
updatedAt
string
Was this page helpful?