Track an order
GET {{base_url}}/orders/tracking?orderNumberOrUuid
Description
This API endpoint is used to track an order using its order number or UUID.
Request
Request Headers:
| Name | Description |
|---|---|
| tenantId | (required, header) The tenant ID associated with the request. |
| countryCode | (required, header) The country code associated with the request. |
Path Parameters:
| Name | Description |
|---|---|
| orderNumberOrUuid | (required, path) Order number or UUID. |
Responses:
Status: 200 OK Description: Order tracked successfully.
Response Body Schema (JSON):
{
"status": "boolean",
"statusCode": "integer",
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}
Example:
<orderTrackingResponse>
<status>true</status>
<statusCode>0</statusCode>
<message>string</message>
<data></data>
<errors>
<error>
<message>string</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</orderTrackingResponse>
400 Bad Request Description: Invalid order UUID provided.
404 Not Found Description: Order not found.
Query Params
| Param | value |
|---|---|
| orderNumberOrUuid | null |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /orders/tracking?orderNumberOrUuid \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!