id | string | نعم | Unique resource UUID. | 00000000-0000-4000-8000-000000000001 |
number | integer | نعم | قيمة «number» في العقد العام؛ يظهر النوع والإلزام بجانبها. | 1 |
tracking_code | string | نعم | Public Havvo tracking code. | HV260001234 |
operational_status | string | نعم | Operational order status from the public status catalog. | NEW |
fulfillment_state | string | نعم | Delivery fulfillment state. | pending |
financial_status | string | نعم | Order payment or debt state. | unpaid |
lifecycle_state | string | نعم | Lifecycle state: active, cancelled, or deleted. | active |
items | array<object> | نعم | قيمة «items» في العقد العام؛ يظهر النوع والإلزام بجانبها. | [{"is_editable": true, "can_cancel": true, "can_delete": true, "locked_at": "2026-11-30T10:00:00Z", "lock_reason": null, "id": "00000000-0000-4000-8000-000000000001", "cargo_type_id": "00000000-0000-4000-8000-000000000001", "external_tracking_code": "string", "packaging_name": "string", "description": "string", "quantity": 1, "declared_weight": "string", "length_cm": "string", "width_cm": "string", "height_cm": "string", "declared_value": "string", "status": "string", "lifecycle_state": "string", "version": 1}] |
items.is_editable | boolean | نعم | Whether the declared cargo item can currently be edited. | true |
items.can_cancel | boolean | نعم | Whether the declared cargo item can currently be cancelled. | true |
items.can_delete | boolean | نعم | Whether the declared cargo item can currently be soft-deleted. | true |
items.locked_at | string | null | نعم | Time at which cargo mutations became locked; null means no lock. | 2026-11-30T10:00:00Z |
items.lock_reason | string | null | نعم | Reason cargo mutations are locked, for example CARGO_ACCEPTED. | CARGO_ACCEPTED |
items.id | string | نعم | Unique resource UUID. | 00000000-0000-4000-8000-000000000001 |
items.cargo_type_id | string | نعم | قيمة «cargo type id» في العقد العام؛ يظهر النوع والإلزام بجانبها. | 00000000-0000-4000-8000-000000000001 |
items.external_tracking_code | string | null | نعم | قيمة «external tracking code» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.packaging_name | string | null | نعم | قيمة «packaging name» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.description | string | null | نعم | قيمة «description» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.quantity | integer | نعم | Number of units; must be positive. | 1 |
items.declared_weight | string | نعم | قيمة «declared weight» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.length_cm | string | null | نعم | قيمة «length cm» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.width_cm | string | null | نعم | قيمة «width cm» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.height_cm | string | null | نعم | قيمة «height cm» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.declared_value | string | null | نعم | قيمة «declared value» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
items.status | string | نعم | Current public resource state. | active |
items.lifecycle_state | string | نعم | Lifecycle state: active, cancelled, or deleted. | active |
items.version | integer | نعم | قيمة «version» في العقد العام؛ يظهر النوع والإلزام بجانبها. | 1 |
events | array<object> | نعم | Webhook events listed by GET /capabilities. | ["order.status_changed"] |
events.id | string | نعم | Unique resource UUID. | 00000000-0000-4000-8000-000000000001 |
events.type | string | نعم | Value type from the relevant reference catalog or operation enum. | phone |
events.payload | object | نعم | قيمة «payload» في العقد العام؛ يظهر النوع والإلزام بجانبها. | {} |
events.occurred_at | string | نعم | Business event time in ISO 8601 with timezone. | 2026-11-30T10:00:00Z |
parties | array<object> | نعم | قيمة «parties» في العقد العام؛ يظهر النوع والإلزام بجانبها. | [{"role": "string", "client_id": "00000000-0000-4000-8000-000000000001", "partner_id": "00000000-0000-4000-8000-000000000001", "name": "string", "custom_id": "string", "phone": "string", "email": "string", "address": null, "payment_share": "string"}] |
parties.role | string | نعم | قيمة «role» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
parties.client_id | string | null | نعم | UUID of a client linked to the current partner. | 00000000-0000-4000-8000-000000000002 |
parties.partner_id | string | null | نعم | Immutable public partner identifier. | partner-demo |
parties.name | string | نعم | قيمة «name» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
parties.custom_id | string | null | نعم | قيمة «custom id» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
parties.phone | string | null | نعم | Phone number in international format. | +998901234567 |
parties.email | string | null | نعم | Contact email; not a resource identifier. | integration@example.com |
parties.address | object | null | نعم | قيمة «address» في العقد العام؛ يظهر النوع والإلزام بجانبها. | {"label": "string", "country_id": "00000000-0000-4000-8000-000000000001", "region_name": "string", "city_name": "string", "address_line": "string", "postal_code": "string"} |
parties.payment_share | string | null | نعم | قيمة «payment share» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
price_components | array<object> | null | نعم | قيمة «price components» في العقد العام؛ يظهر النوع والإلزام بجانبها. | [{"id": "00000000-0000-4000-8000-000000000001", "type": "string", "description": "string", "amount": "string", "currency": "string", "status": "string"}] |
estimated_total | string | نعم | قيمة «estimated total» في العقد العام؛ يظهر النوع والإلزام بجانبها. | string |
currency | string | نعم | Three-letter currency code; balances are never combined. | USD |
version | integer | نعم | قيمة «version» في العقد العام؛ يظهر النوع والإلزام بجانبها. | 1 |
created_at | string | نعم | Server record creation time in ISO 8601 UTC. | 2026-11-30T10:00:00Z |
updated_at | string | نعم | Last record update time in ISO 8601 UTC. | 2026-11-30T10:05:00Z |