Get Order
GET endpoint for /brand/order/get-order in brand category
Overview
- Method: GET
- Path:
/brand/order/get-order - Tags: brand
Parameters
No parameters required.
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"order": {
"type": "string"
},
"display_id": {
"type": "number"
},
"status": {
"type": "string"
},
"total": {
"type": "number"
},
"subtotal": {
"type": "number"
},
"tax_total": {
"type": "number"
},
"shipping_total": {
"type": "number"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"shipping_address": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"country_code": {
"type": "string"
},
"province": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"order",
"display_id",
"status",
"total",
"subtotal",
"tax_total",
"shipping_total",
"created_at",
"updated_at",
"shipping_address",
"first_name",
"last_name",
"address_1",
"city",
"country_code",
"postal_code"
]
}400
Bad Request
Content Type: application/json
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"error",
"details"
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
http://localhost:9000/brand/order/get-order \
-H "Content-Type: application/json" \
Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).