Add tracking to an order.
Path parameters
-
publicId
string Required order's publicId
Body
Required
-
tracking_number
string Required tracking number
-
slug
string Shipper slug (dhl, fedex, ups, dpd, ...)
POST
/api/v2/trackings/{publicId}
curl \
--request POST 'https://bi.agora.place/api/v2/trackings/{publicId}' \
--header "Content-Type: application/json" \
--data '{"tracking_number":"string","slug":"string"}'
Request examples
{
"tracking_number": "string",
"slug": "string"
}
Response examples (200)
{
"code": 200,
"msg": "Success"
}
Response examples (400)
{
"code": 400,
"msg": "Bad Request"
}
Response examples (500)
{
"code": 500,
"msg": "Internale Server Error"
}