Skip to content

Public order tracking by token​

GET
/public/orders/track/{token}

Public, unauthenticated tracking using an unguessable trk_ token issued at order creation (or backfilled for legacy orders). Returns a deliberately narrow shape excluding email/phone, internal IDs and commission data. Any invalid/unknown token returns a generic 404 ('Lien invalide ou expiré').

Auth: Public (no authentication).

Parameters​

Path Parameters

token*

Tracking token matching /^trk_[a-zA-Z0-9]{16,40}$/

Type
string
Required

Responses​

Narrow public tracking view

application/json
JSON
{
  
"ok": true,
  
"data": {
  
  
"orderNumber": "string",
  
  
"customerFirstName": "string",
  
  
"status": "string",
  
  
"statusLabel": "string",
  
  
"paymentMethod": "string",
  
  
"paymentStatus": "string",
  
  
"currency": "string",
  
  
"items": [
  
  
  
{
  
  
  
  
"title": "string",
  
  
  
  
"imageUrl": "https://example.com",
  
  
  
  
"quantity": 0,
  
  
  
  
"unitPrice": 0,
  
  
  
  
"lineTotal": 0,
  
  
  
  
"vendorId": "string",
  
  
  
  
"vendorName": "string",
  
  
  
  
"vendorPhone": "string",
  
  
  
  
"vendorWhatsapp": "string"
  
  
  
}
  
  
],
  
  
"vendors": [
  
  
  
{
  
  
  
  
"vendorId": "string",
  
  
  
  
"name": "string",
  
  
  
  
"phone": "string",
  
  
  
  
"email": "string",
  
  
  
  
"whatsapp": "string",
  
  
  
  
"whatsappSource": "vendor",
  
  
  
  
"waLink": "string",
  
  
  
  
"store": {
  
  
  
  
  
"storeId": "string",
  
  
  
  
  
"name": "string",
  
  
  
  
  
"address": "string",
  
  
  
  
  
"city": "string",
  
  
  
  
  
"phone": "string"
  
  
  
  
},
  
  
  
  
"address": "string"
  
  
  
}
  
  
],
  
  
"totals": {
  
  
  
"subtotal": 0,
  
  
  
"discount": 0,
  
  
  
"shipping": 0,
  
  
  
"tax": 0,
  
  
  
"total": 0
  
  
},
  
  
"shipping": {
  
  
  
"address1": "string",
  
  
  
"city": "string",
  
  
  
"country": "string"
  
  
},
  
  
"carrier": {
  
  
  
"name": "string",
  
  
  
"awb": "string",
  
  
  
"trackingUrl": "https://example.com"
  
  
},
  
  
"timeline": [
  
  
  
{
  
  
  
  
"status": "string",
  
  
  
  
"statusLabel": "string",
  
  
  
  
"occurredAt": "2024-01-01T00:00:00Z"
  
  
  
}
  
  
],
  
  
"placedAt": "2024-01-01T00:00:00Z",
  
  
"canRequestReturn": true
  
}
}

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai