Get Order
Retrieve full order details with totals and related entities; assigns order to the user when applicable.
Overview
- Method: GET
- Path:
/brand/order/get-order/<id> - Tags: brand
Parameters
id (path)
- Type:
string - Required: Yes
- Description: id parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"order": "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",
"shipping_address": "string",
"first_name": "string",
"last_name": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"country_code": "string",
"province": "string",
"postal_code": "string",
"phone": "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/<id> \
-H "Content-Type: application/json" \