IdOrders
Get all orders for a customer
Get all the orders associated with a customers account, based off the customer GUID. Authorise with a JWT
GET
/v1/customers/{id}/orders
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Path Parameters
idstring
Response Body
curl -X GET "https://loading/v1/customers/string/orders"
{
"orders": [
{
"reference": "string",
"total": 0.1,
"dateModified": "2019-08-24T14:15:22Z",
"status": "string",
"trackingNumber": "string",
"currencyId": 0,
"orderId": 0,
"trackingUrl": "string"
}
],
"orderItems": [
{
"title": "string",
"image": "string",
"price": 0.1,
"orderId": 0,
"size": "string",
"quantity": 0,
"productCode": "string"
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?