Create a delivery
const url = 'https://api.govza.app/v1/partner/orders';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"external_order_id":"SHOP-GROZNY-20260811-001","quote_id":"5c1f5b14-7915-4f3c-8544-9869b3f04f36","pickup":{"address":{"latitude":43.342439,"longitude":45.693597,"area":"Грозный","street":"А. А. Айдамирова","building":"123"},"contact":{"value":"+79280003396","name":"Адам","type":"phone"}},"dropoffs":[{"address":{"latitude":43.320872,"longitude":45.691756,"area":"Грозный","street":"С. Ш. Лорсанова","building":"12","apartment":18,"entrance":2,"floor":3,"instructions":"Позвонить за 10 минут"},"contact":{"value":"+79280003396","name":"Милана","type":"phone"},"cargo_size":"M","payment_type":"cash","payment_amount":1500,"doorstep":false},{"address":{"latitude":43.351021,"longitude":45.69154,"area":"Грозный","street":"А. А. Айдамирова","building":"147к3","apartment":7,"entrance":1,"floor":2},"contact":{"value":"+79280003396","name":"Залина","type":"whatsapp"},"cargo_size":"S","payment_type":"card","doorstep":true}],"cargo_size":"M","routing_mode":"sequential","delivery_time":"2026-08-12T12:00:00Z","comment":"Позвонить за 10 минут до приезда"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.govza.app/v1/partner/orders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "external_order_id": "SHOP-GROZNY-20260811-001", "quote_id": "5c1f5b14-7915-4f3c-8544-9869b3f04f36", "pickup": { "address": { "latitude": 43.342439, "longitude": 45.693597, "area": "Грозный", "street": "А. А. Айдамирова", "building": "123" }, "contact": { "value": "+79280003396", "name": "Адам", "type": "phone" } }, "dropoffs": [ { "address": { "latitude": 43.320872, "longitude": 45.691756, "area": "Грозный", "street": "С. Ш. Лорсанова", "building": "12", "apartment": 18, "entrance": 2, "floor": 3, "instructions": "Позвонить за 10 минут" }, "contact": { "value": "+79280003396", "name": "Милана", "type": "phone" }, "cargo_size": "M", "payment_type": "cash", "payment_amount": 1500, "doorstep": false }, { "address": { "latitude": 43.351021, "longitude": 45.69154, "area": "Грозный", "street": "А. А. Айдамирова", "building": "147к3", "apartment": 7, "entrance": 1, "floor": 2 }, "contact": { "value": "+79280003396", "name": "Залина", "type": "whatsapp" }, "cargo_size": "S", "payment_type": "card", "doorstep": true } ], "cargo_size": "M", "routing_mode": "sequential", "delivery_time": "2026-08-12T12:00:00Z", "comment": "Позвонить за 10 минут до приезда" }'Authorizations
Заголовок раздела «Authorizations»Request Bodyrequired
Заголовок раздела «Request Bodyrequired»Unlike POST /quotes, creating a delivery needs full structured
addresses and contact details — someone has to be found at the door.
object
Your identifier. Reusing one returns the original order.
A quote_id from POST /quotes. Honoured only while the whole
quote is still valid; otherwise the trip is re-priced and the
response carries the new price.
object
object
Required. Decides routing and price.
City or locality.
Example
ГрозныйExample
проспект ПутинаHouse or building number, as text.
Example
12к3Whole number only. Put anything else in instructions.
Free text shown to the courier.
Example
{ "latitude": 43.342439, "longitude": 45.693597, "area": "Грозный", "street": "А. А. Айдамирова", "building": "123", "apartment": 12, "entrance": 2, "floor": 3, "instructions": "Позвонить при входе"}object
Phone number or messaging handle. E.164 preferred for phone contacts.
Example
+79280003396Example
{ "value": "+79280003396", "name": "Адам", "type": "phone"}object
object
Required. Decides routing and price.
City or locality.
Example
ГрозныйExample
проспект ПутинаHouse or building number, as text.
Example
12к3Whole number only. Put anything else in instructions.
Free text shown to the courier.
Example
{ "latitude": 43.342439, "longitude": 45.693597, "area": "Грозный", "street": "А. А. Айдамирова", "building": "123", "apartment": 12, "entrance": 2, "floor": 3, "instructions": "Позвонить при входе"}object
Phone number or messaging handle. E.164 preferred for phone contacts.
Example
+79280003396Example
{ "value": "+79280003396", "name": "Адам", "type": "phone"}How the courier pays for the goods bought out at this door.
Item buyout amount in RUB for this dropoff. Omit or null when there is no buyout.
Buyout payment method. Applied to the first dropoff when not set there.
Item buyout amount in RUB. Applied to the first dropoff when not set there.
For a scheduled delivery. Omit for as-soon-as-possible.
Shown to the courier.
Example
{ "external_order_id": "SHOP-GROZNY-20260811-001", "quote_id": "5c1f5b14-7915-4f3c-8544-9869b3f04f36", "pickup": { "address": { "latitude": 43.342439, "longitude": 45.693597, "area": "Грозный", "street": "А. А. Айдамирова", "building": "123" }, "contact": { "value": "+79280003396", "name": "Адам", "type": "phone" } }, "dropoffs": [ { "address": { "latitude": 43.320872, "longitude": 45.691756, "area": "Грозный", "street": "С. Ш. Лорсанова", "building": "12", "apartment": 18, "entrance": 2, "floor": 3, "instructions": "Позвонить за 10 минут" }, "contact": { "value": "+79280003396", "name": "Милана", "type": "phone" }, "cargo_size": "M", "payment_type": "cash", "payment_amount": 1500, "doorstep": false }, { "address": { "latitude": 43.351021, "longitude": 45.69154, "area": "Грозный", "street": "А. А. Айдамирова", "building": "147к3", "apartment": 7, "entrance": 1, "floor": 2 }, "contact": { "value": "+79280003396", "name": "Залина", "type": "whatsapp" }, "cargo_size": "S", "payment_type": "card", "doorstep": true } ], "cargo_size": "M", "routing_mode": "sequential", "delivery_time": "2026-08-12T12:00:00Z", "comment": "Позвонить за 10 минут до приезда"}Responses
Заголовок раздела «Responses»This external_order_id was already used; the original order is
returned unchanged and nothing new was created.
object
object
The human-readable Govza order code.
Public tracking page, safe to forward to the recipient. 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 in dropoff order. Null for a single-dropoff order or when unavailable.
Example
{ "data": { "status": "new" }}The delivery was created.
object
object
The human-readable Govza order code.
Public tracking page, safe to forward to the recipient. 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 in dropoff order. Null for a single-dropoff order or when unavailable.
Example
{ "data": { "status": "new" }}The payload was rejected. error.details is a JSON array of
{ field, message } covering every offending field, not just the
first, so one response is enough to fix the request.
object
object
Example
{ "success": false, "error": { "id": "validation.partner_payload_invalid", "message": "dropoffs.0.address.latitude: latitude is required", "details": "[{\"field\":\"dropoffs.0.address.latitude\",\"message\":\"latitude is required\"}]" }}The key is missing, malformed, revoked, or its account can no longer create orders.
object
object
Example
{ "success": false}A concurrent request is already creating this order. Retry shortly.
Too many requests for this key in the current minute.
object
object
Example
{ "success": false}