Get Order Detail
Retrieve order with totals and include current ORDER, PRESCRIPTION, and PAYMENT state names.
Overview
- Method: GET
- Path:
/brand/order/get-order-detail/<orderId> - Tags: brand
Parameters
orderId (path)
- Type:
string - Required: Yes
- Description: orderId 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,
"prescriptionState": "string",
"orderState": "string",
"paymentState": "string",
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}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-detail/<orderId> \
-H "Content-Type: application/json" \