{
"id": 298,
"created_at": "2025-07-13T12:38:04.891591+03:00",
"order_id": 351,
"invoice_id": 431,
"status": "ready_for_pickup",
"customer": {
"id": 1,
"country_code": "966",
"username": "0534501056",
"mobile_number": "966534501056",
"email": "[email protected]",
"name": "Safwan Saigh",
"lang": "en",
"current_city_id": 1,
"is_email_verified": true,
"is_mobile_verified": true,
"is_blocked": false,
"is_deleted": false,
"is_verified": true,
"national_id": "1111782031",
"secondary_mobile_number": "0534501056",
"date_of_birth": "1999-02-25",
"avatar": "/media/uploads/customer/avatars/2024/07/29/12048986-a1b6-4e1d-9b8a-216331f3cd71.png",
"joined_at": "2022-03-12T14:51:15.115924Z",
"custom_fields": null
},
"date": null,
"time": null,
"service_type": "delivery",
"location": {
"id": 2,
"custom_fields": null,
"on_demand_supported": false,
"subscription_supported": false,
"location_url": "https://maps.google.com/?q=21.5786337,39.1536752",
"city": {
"id": 1,
"custom_fields": null,
"app_id": null,
"created_at": "2022-03-12T16:51:57.964819+03:00",
"modified_at": "2023-02-19T18:29:28.335083+03:00",
"is_deleted": false,
"deleted_at": null,
"ordering": 0,
"name_ar": "جده",
"name_en": "Jeddah",
"country_code": "SA",
"keywords": "Jeddah,jeddah,جدة,جده",
"is_supported": true
},
"app_id": null,
"created_at": "2022-04-13T15:16:55.721015+03:00",
"modified_at": "2025-01-28T17:13:30.592617+03:00",
"is_deleted": false,
"deleted_at": null,
"ordering": 0,
"name_ar": "home",
"name_en": "home",
"longitude": "39.1536752",
"latitude": "21.5786337",
"address1": "6438 ابن عديس، حي السلامة، جدة 23436 3083، السعودية",
"address2": "جدة",
"place_id": "ChIJ7SIhYS7bwxURWDIHU_Wzggk",
"postal_code": "23436",
"formatted_address": "ابن عديس، 6438 ibn Udays st. - al-salamh-dist jeddah 3083-23436 Villa 16، جدة 23436،، As Salamah, Jeddah 23436, Saudi Arabia",
"district": "As Salamah",
"district_ar": null,
"city_name_en": "Jeddah",
"city_name_ar": null,
"route": null,
"street_number": null,
"is_synced": true,
"type": "home",
"description": "عماره ٢٢، شقه ٣",
"is_default": false,
"image": "/media/uploads/location/images/2025/01/28/61ebe418-7fb0-4d4c-9e73-7a417997e713.png",
"deleted_from": null,
"zone": 1,
"customer_profile": 1
},
"pickup_location": null,
"city_en": "Jeddah",
"city_ar": "جدة",
"district_en": "As Salamah Dist.",
"district_ar": "حي السلامة",
"selected_courier_id": null,
"fulfillments": [
{
"id": 102669,
"created_at": "2025-07-13T12:38:04.882318+03:00",
"invoice_item_id": 468,
"item": {
"id": 121,
"custom_fields": {
"test": "test"
},
"images": [],
"discount": {
"is_applied": false,
"is_trial_applied": false,
"is_usage_price": false,
"price_after_discount_no_trial": 12.0,
"price_after_discount": 12.0
},
"stock": {
"in_stock": true,
"qty": 100
},
"modifiers": [
{
"id": 3,
"ordering": 0,
"name_en": "mod",
"name_ar": "mod",
"values": [
{
"id": 6,
"ordering": 0,
"name_en": "two",
"name_ar": "two"
},
{
"id": 5,
"ordering": 0,
"name_en": "one",
"name_ar": "one"
}
]
}
],
"variants": [
{
"id": 121,
"custom_fields": {
"test": "test"
},
"images": [],
"discount": {
"is_applied": false,
"is_trial_applied": false,
"is_usage_price": false,
"price_after_discount_no_trial": 12.0,
"price_after_discount": 12.0
},
"stock": {
"in_stock": true,
"qty": 100
},
"plan_config": null,
"off_days": [],
"off_dates": [],
"variant_title_en": "two",
"variant_title_ar": "two",
"modifier_values": [
6
],
"app_id": 86,
"ordering": 0,
"type": "product",
"service_type": "delivery",
"sku": "17502362717823294",
"price": 12.0,
"name_en": "Variant",
"name_ar": "Variant",
"description_en": "",
"description_ar": "",
"is_plan_only": false,
"is_plan_enabled": false,
"served_from_date": null,
"served_to_date": null,
"served_from_time": null,
"served_to_time": null
},
{
"id": 122,
"custom_fields": {
"test": "test_vaaar_1"
},
"images": [],
"discount": {
"is_applied": false,
"is_trial_applied": false,
"is_usage_price": false,
"price_after_discount_no_trial": 11.0,
"price_after_discount": 11.0
},
"stock": {
"in_stock": true,
"qty": 100
},
"plan_config": null,
"off_days": [],
"off_dates": [],
"variant_title_en": "one",
"variant_title_ar": "one",
"modifier_values": [
5
],
"app_id": 86,
"ordering": 0,
"type": "product",
"service_type": "delivery",
"sku": "1750236379191",
"price": 11.0,
"name_en": "Variant",
"name_ar": "Variant",
"description_en": "",
"description_ar": "",
"is_plan_only": false,
"is_plan_enabled": false,
"served_from_date": null,
"served_to_date": null,
"served_from_time": null,
"served_to_time": null
}
],
"varies_on": "modifiers",
"bundle_categories": [],
"plan_config": null,
"off_days": [],
"off_dates": [],
"app_id": 86,
"ordering": 0,
"type": "product",
"service_type": "delivery",
"sku": "17502362717823294",
"price": 12.0,
"name_en": "Variant",
"name_ar": "Variant",
"description_en": "",
"description_ar": "",
"is_plan_only": false,
"is_plan_enabled": false,
"served_from_date": null,
"served_to_date": null,
"served_from_time": null,
"served_to_time": null,
"categories": [
16
]
},
"name_en": "Variant",
"name_ar": "Variant",
"status": "pending",
"total_amount": 0.0,
"addons": []
}
],
"shipments": [
{
"id": 16,
"custom_fields": null,
"courier_id": 1,
"courier_name": "OTO Flex",
"events": [
{
"created_at": "2025-07-13T23:33:37.305212+03:00",
"status": "pending",
"note": null,
"provider_status": "assignedToWarehouse"
},
{
"created_at": "2025-07-13T23:33:38.957156+03:00",
"status": "ready_for_pickup",
"note": null,
"provider_status": "searchingDriver"
}
],
"tracking_number": "163db926",
"tracking_url": "http://localhost:8000/order/v1/shipments/16/track/",
"label_url": "https://staging-api.tryoto.com/print/awb?enc=eyJjb21wYW55SWQiOjM4NzA0LCJpZHMiOlszMDk1Nzg3OF19",
"shipment_error": null,
"pickup_location": {
"id": 1,
"custom_fields": null,
"app_id": 86,
"created_at": "2025-06-26T13:50:16.457910+03:00",
"name": "My warehouse2",
"type": "warehouse",
"address": "Al Hamra, Al Ahlam St",
"contact_phone": "0534501056",
"contact_name": "Safwan Sa",
"contact_email": "[email protected]",
"lat": "21.590375041386423000",
"lng": "39.152816252744530000",
"country_code": "SA",
"city_en": "Jeddah",
"city_ar": "جدة",
"district_en": "AlHamra",
"district_ar": "الحمراء",
"is_active": true
},
"app_id": 86,
"created_at": "2025-07-13T23:33:29.762330+03:00",
"shipment_number": "TR1752438809",
"status": "ready_for_pickup",
"is_reversed": false,
"customer_id": 1,
"customer_phone": "0534501056",
"customer_email": "[email protected]",
"customer_name": "Safwan Saigh",
"customer_address": "ابن عديس، 6438 ibn Udays st. - al-salamh-dist jeddah 3083-23436 Villa 16، جدة 23436،، As Salamah, Jeddah 23436, Saudi Arabia",
"weight": 1.0,
"package_count": 2,
"pickup_location_id": 1,
"origin_country_code": "SA",
"origin_city": "Jeddah",
"origin_lat": "21.590375041386423000",
"origin_lng": "39.152816252744530000",
"destination_country_code": "SA",
"destination_city": "Jeddah",
"destination_district": "As Salamah Dist.",
"destination_lat": "21.578633700000000000",
"destination_lng": "39.153675200000000000",
"picked_up_at": null,
"shipped_at": null,
"delivered_at": null,
"shipping_amount": 0.0,
"provider_order_status": "searchingDriver"
},
{
"id": 15,
"custom_fields": null,
"courier_id": 1,
"courier_name": "OTO Flex",
"events": [
{
"created_at": "2025-07-13T23:30:17.310946+03:00",
"status": "canceled",
"note": null,
"provider_status": "shipmentCanceled"
},
{
"created_at": "2025-07-13T23:29:32.704733+03:00",
"status": "pending",
"note": null,
"provider_status": "assignedToWarehouse"
},
{
"created_at": "2025-07-13T23:29:34.638479+03:00",
"status": "ready_for_pickup",
"note": null,
"provider_status": "searchingDriver"
}
],
"tracking_number": "d76e9cb3",
"tracking_url": "http://localhost:8000/order/v1/shipments/15/track/",
"label_url": "https://staging-api.tryoto.com/print/awb?enc=eyJjb21wYW55SWQiOjM4NzA0LCJpZHMiOlszMDk1Nzg3N119",
"shipment_error": null,
"pickup_location": {
"id": 1,
"custom_fields": null,
"app_id": 86,
"created_at": "2025-06-26T13:50:16.457910+03:00",
"name": "My warehouse2",
"type": "warehouse",
"address": "Al Hamra, Al Ahlam St",
"contact_phone": "0534501056",
"contact_name": "Safwan Sa",
"contact_email": "[email protected]",
"lat": "21.590375041386423000",
"lng": "39.152816252744530000",
"country_code": "SA",
"city_en": "Jeddah",
"city_ar": "جدة",
"district_en": "AlHamra",
"district_ar": "الحمراء",
"is_active": true
},
"app_id": 86,
"created_at": "2025-07-13T23:29:24.681341+03:00",
"shipment_number": "TR1752438564",
"status": "canceled",
"is_reversed": false,
"customer_id": 1,
"customer_phone": "0534501056",
"customer_email": "[email protected]",
"customer_name": "Safwan Saigh",
"customer_address": "ابن عديس، 6438 ibn Udays st. - al-salamh-dist jeddah 3083-23436 Villa 16، جدة 23436،، As Salamah, Jeddah 23436, Saudi Arabia",
"weight": 2.0,
"package_count": 1,
"pickup_location_id": 1,
"origin_country_code": "SA",
"origin_city": "Jeddah",
"origin_lat": "21.590375041386423000",
"origin_lng": "39.152816252744530000",
"destination_country_code": "SA",
"destination_city": "Jeddah",
"destination_district": "As Salamah Dist.",
"destination_lat": "21.578633700000000000",
"destination_lng": "39.153675200000000000",
"picked_up_at": null,
"shipped_at": null,
"delivered_at": null,
"shipping_amount": 0.0,
"provider_order_status": "shipmentCanceled"
}
]
}