Get/v1/orders/get-tracking
Get Tracking
Use this endpoint when you need to poll our system for batches of tracking numbers. You can poll for up to 250 orders in each api call.
Properties
- Name
- Type
- string
- Description
- A comma seperated list of MPODx order references (required).
Making a Request
Include the headers in your request.
GET
/v1/orders/get-trackingcurl -G https://api.mpodx.com/v1/orders/get-tracking?order_ref=CK123456,CK123457,CK123458,CK123459,CK123460 \
-H "Authorization: Bearer {token}"
Get Tracking
Used when you need to retreive tracking numbers for one or more orders
The data below shows the required fields for this API call.
Request URL
"https://api.mpodx.com/v1/orders/get-tracking?order_ref={order_refs}"
Response
{
"message": "Get order tracking successfully",
"status": "success",
"data": {
"results": [
{
"order_ref": "CK123456",
"status": "In Production",
"shipping_carrier": "carrier-name",
"tracking": [
{
"item_ref": "1234561",
"tracking_number": "tracking-number",
"tracking_url": "url"
},
{
"item_ref": "1234562",
"tracking_number": "tracking-number",
"tracking_url": "url"
},
]
}
]
}
}