Create Order
Create a new order for a customer. Authorize with basic auth
POST
/v1/orders
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
orderStatusId?integer
Format
int32
customerGuid?string | null
shippingOptionId?integer
Format
int32
storeId?integer
Format
int32
currency?string | null
deliveryOptions?string | null
basketGuid?string | null
shippingCost?number
Format
double
startedDay?string | null
Format
date-time
siteName?string | null
giftCardAmount?number
Format
double
userAgent?string | null
deliveryAmount?number
Format
double
deliveryInstructions?string | null
ipAddress?string | null
statedDay?string | null
Format
date-time
referrer?string | null
referencePrefix?string | null
vatRate?number
Format
double
server?string | null
Response Body
curl -X POST "https://loading/v1/orders" \ -H "Content-Type: application/json" \ -d '{}'
{
"success": true,
"errors": [
{
"description": "string"
}
],
"orderReference": "string",
"orderId": 0,
"orderTotal": 0.1,
"amountToPay": 0.1
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?