Appearance
Orders
Get All Customer Orders
GET /customers/{id}/ordersParameters
| Name | Type | Description | Example |
|---|---|---|---|
id | int | Customer ID | 43 |
Headers
Accept: application/json
Authorization: Bearer {YOUR_ACCESS_TOKEN}- Order Summaries.
- Results are paginated.
- Max. 15 orders per page.
- Navigation meta is provided.
Response 200
json
{
"data": [
{
"type": "order",
"id": 15,
"attributes": {
"order_number": "T00000015",
"order_date": "17-12-2025",
"processed_date": null,
"expiry_date": "31-12-2025",
"value": 300.5,
"order_type": "PYOP",
"order_status": "Awaiting Delivery",
"created_at": "2025-12-17T12:03:59.000000Z",
"updated_at": "2025-12-17T12:03:59.000000Z"
},
"relationships": {
"customers": {
"links": {
"related": "https://appx-api.mysticky.co.uk/api/v1/customers/43"
}
}
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/orders/15"
}
}
],
"links": {
"first": "https://appx-api.mysticky.co.uk/api/v1/customers/43/orders?page=1",
"last": "https://appx-api.mysticky.co.uk/api/v1/customers/43/orders?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://appx-api.mysticky.co.uk/api/v1/customers/43/orders?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://appx-api.mysticky.co.uk/api/v1/customers/43/orders",
"per_page": 15,
"to": 1,
"total": 1
}
}Get an Order
GET /orders/{id}Parameters
| Name | Type | Description | Example |
|---|---|---|---|
id | int | Order ID | 15 |
Headers
Accept: application/json
Authorization: Bearer {YOUR_ACCESS_TOKEN}- Complete order data.
- Order devices, prices and grades.
Response 200
json
{
"data": {
"type": "order",
"id": 15,
"attributes": {
"order_number": "T00000015",
"order_date": "05-02-2026",
"processed_date": null,
"expiry_date": "19-02-2026",
"value": 610,
"order_type": "PYOP",
"order_status": "Awaiting Delivery",
"created_at": "2026-02-05T14:48:40.000000Z",
"updated_at": "2026-02-05T14:48:40.000000Z"
},
"relationships": {
"devices": [
{
"type": "device",
"id": 2,
"attributes": {
"value": 455,
"model": "Apple iPhone 15 Pro Max 1TB",
"grade": "Good"
}
},
{
"type": "device",
"id": 2,
"attributes": {
"value": 155,
"model": "Apple iPhone 15 Pro Max 1TB",
"grade": "Faulty"
}
}
],
"customers": {
"links": {
"related": "https://appx-api2.mysticky.co.uk/api/v1/customers/1"
}
}
},
"links": {
"self": "https://appx-api2.mysticky.co.uk/api/v1/orders/15"
}
}
}