List deliveries
const url = 'https://api.govza.app/v1/delivery/orders?limit=20&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.govza.app/v1/delivery/orders?limit=20&offset=0' \ --header 'Authorization: Bearer <token>'Returns this API account’s deliveries, newest first.
Authorizations
Заголовок раздела «Authorizations»Parameters
Заголовок раздела «Parameters»Query Parameters
Заголовок раздела «Query Parameters»Number of deliveries to return.
Number of newest deliveries to skip.
Responses
Заголовок раздела «Responses»The account’s deliveries.
object
object
object
The human-readable Govza order code.
Public tracking page, safe to forward to the recipient. Expires 24
hours after the order is delivered or cancelled. Present on
create; when reading or listing, null if the order has no link yet
— reads never create one. Use
POST /orders/{external_order_id}/tracking_link to issue one.
Individual tracking pages, one per dropoff in your order, whatever order they are visited in. Null for a single-dropoff order or when unavailable.
Zero-based positions in your dropoffs array, in the order the courier
visits them. Everything else stays in your order: quote legs,
tracking_urls and index in PATCH.
Example
{ "data": { "orders": [ { "status": "new", "visit_order": [ 2, 0, 1 ] } ] }}The key is missing, malformed, revoked, or its account can no longer create orders.
object
object
Example
{ "success": false}