Перейти к содержимому

Issue the tracking link

POST
/orders/{external_order_id}/tracking_link
curl --request POST \
--url https://api.govza.app/v1/partner/orders/example/tracking_link \
--header 'Authorization: Bearer <token>'

Returns the delivery’s tracking link, creating it if the order does not have one yet.

Creating a delivery already returns its tracking link, so most integrations never need this. It exists for the cases that come later — a create response that was discarded, or a link that was never stored. Reading an order or listing orders returns only links that already exist, and never creates one.

external_order_id
required
string
<= 128 characters

Your own identifier for the order.

The tracking link.

Media typeapplication/json
object
success
boolean
data
object
external_order_id
string
order_code
string
tracking_url
string
nullable
tracking_urls
Array<string>
nullable
Examplegenerated
{
"success": true,
"data": {
"external_order_id": "example",
"order_code": "example",
"tracking_url": "example",
"tracking_urls": [
"example"
]
}
}

The key is missing, malformed, revoked, or its account can no longer create orders.

Media typeapplication/json
object
success
boolean
error
object
id
string
code
string
message
string
details
string
Example
{
"success": false
}

No order exists for this external_order_id.

Media typeapplication/json
object
success
boolean
error
object
id
string
code
string
message
string
details
string
Example
{
"success": false
}