Create a delivery claim
create_claimCreate a delivery claim for Yango Delivery by specifying route points and items. The claim is first estimated and then confirmed with accept_claim or auto_accept=true.
Instructions
Creates a delivery claim. IMPORTANT: the claim is NOT dispatched immediately — it goes through estimation (status: new → estimating → ready_for_approval) and must then be confirmed with accept_claim, or pass auto_accept=true. Returns id (claim_id), status, version, route_points, pricing, created_ts. Verify success via get_claim: estimation errors can arrive as an error_messages array inside a 200 response. request_id makes the call idempotent: a retry with the same request_id returns the same claim, not a duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | Desired courier arrival time (ISO-8601), e.g. 2026-08-10T12:00:00+05:00. | |
| items | Yes | Items to deliver. | |
| comment | No | Comment for the courier (up to 7000 characters). | |
| skip_act | No | true — do not generate a handover act. | |
| request_id | No | Idempotency token (1–128 characters, a query parameter). A UUID is generated automatically when omitted. | |
| auto_accept | No | true — confirm the claim automatically after successful estimation (no accept_claim needed). | |
| route_points | Yes | Route points (at least 2): a source and a destination at minimum. | |
| same_day_data | No | Same-day delivery settings: {delivery_interval: {from, to}} (a non-Russia feature). | |
| optional_return | No | true — the courier does not return items to the sender when hand-over fails. | |
| emergency_contact | No | Contact to reach if there is a problem with the delivery. | |
| shipping_document | No | Accompanying shipping document reference. | |
| skip_door_to_door | No | true — no door-to-door: hand over at the entrance. | |
| skip_client_notify | No | true — do not send SMS/push notifications to the recipient. | |
| callback_properties | No | Webhook for claim status changes. | |
| client_requirements | No | Delivery requirements. Optional per the docs, but always passing taxi_class is safest. | |
| skip_emergency_notify | No | true — do not notify the emergency contact. |