Get Order By Offset
Retrieve an order relative to another order display ID using an offset.
Overview
- Method: GET
- Path:
/brand/order/get-order-by-offset/<orderDisplayId>/<offset> - Tags: brand
Parameters
orderDisplayId (path)
- Type:
object - Required: Yes
- Description: orderDisplayId parameter
offset (path)
- Type:
object - Required: Yes
- Description: offset parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"nextOrder": "string",
"display_id": 123,
"status": "string",
"total": 123,
"subtotal": 123,
"tax_total": 123,
"shipping_total": 123,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z",
"customer": "string",
"email": "string",
"first_name": "string",
"last_name": "string"
}400
Bad Request
Content Type: application/json
{
"error": "string",
"details": [
{}
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
https://api.pillexa.com/brand/order/get-order-by-offset/<orderDisplayId>/<offset> \
-H "Content-Type: application/json" \