Whenever a shipment status changes, AyMakan sends a webhook containing the shipment status and, when applicable, a reason_code.
status identifies the shipment's current lifecycle stage.reason_code provides additional information for statuses such as Not Delivered, Pending, On Hold, Reverse Pickup Incomplete, etc.Example:
{
"event": "status_update",
"reason": "",
"status": "AY-0004",
"carrier": "aymakan",
"tracking": "AY12345678901",
"reference": "ORD-100254",
"date_time": "2026-07-23T10:15:32.000000Z",
"description": "Out for Delivery",
"reason_description": "",
"shipping": {
"tracking_number": "AY12345678901",
"reference": "ORD-100254",
"status": "AY-0004",
"status_label": "Out for Delivery",
"reason_code": null,
"reason_en": null,
"weight": "2.35",
"pieces": 1,
"length": null,
"width": null,
"height": null,
"cod_amount": "0.00",
"payment_method": "Prepaid",
"pickup_date": "2026-07-22T09:30:00.000000Z",
"received_at": "2026-07-22T14:10:15.000000Z",
"delivery_date": null,
"requested_delivery_date": null,
"id_customer": 125,
"customer_name": "Demo Store",
"is_reverse_pickup": 0,
"collection_name": "Demo Store Warehouse",
"collection_email": "[email protected]",
"collection_city": "Riyadh",
"collection_address": "King Fahd Road, Riyadh",
"collection_neighbourhood": "Al Olaya",
"delivery_name": "John Smith",
"delivery_email": "[email protected]",
"delivery_phone": "966500000000",
"delivery_city": "Riyadh",
"delivery_country": "SA",
"delivery_address": "King Abdullah Road, Riyadh",
"delivery_postcode": "12345",
"delivery_neighbourhood": "Al Malqa",
"delivery_description": "Wireless Keyboard x1, Wireless Mouse x1",
"tracking_info": [
{
"status_code": "AY-0004",
"description": "Shipment is out for its final destination.",
"description_ar": "الشحنة خارجة للتوصيل للوجهة النهائية",
"reason_code": null,
"reason_en": null,
"reason_ar": null,
"created_at": "2026-07-23 13:15:32"
},
{
"status_code": "AY-0026",
"description": "Received at Riyadh Warehouse",
"description_ar": "تم استلام الشحنة في مستودع الرياض",
"reason_code": null,
"reason_en": null,
"reason_ar": null,
"created_at": "2026-07-22 17:10:15"
},
{
"status_code": "AY-0003",
"description": "Shipment is received at hub",
"description_ar": "تم استلام الشحنة في مركز التوزيع",
"reason_code": null,
"reason_en": null,
"reason_ar": null,
"created_at": "2026-07-22 17:10:15"
},
{
"status_code": "AY-0002",
"description": "Shipment was collected from collection point",
"description_ar": "تم استلام الشحنة من نقطة التجميع",
"reason_code": null,
"reason_en": null,
"reason_ar": null,
"created_at": "2026-07-22 12:30:00"
},
{
"status_code": "AY-0001",
"description": "Shipment is created at collection point",
"description_ar": "تم إنشاء بوليصة الشحنة",
"reason_code": null,
"reason_en": null,
"reason_ar": null,
"created_at": "2026-07-22 10:45:20"
}
]
}
}
| Code | Status | Description |
|---|---|---|
| AY-0001 | AWB created at origin | Shipment is created at collection point |
| AY-0002 | Picked from Collection Point | Shipment was collected from collection point |
| AY-0003 | Received at Warehouse | Shipment is received at hub |
| AY-0004 | Out for Delivery | Shipment is out for its final destination |
| AY-0005 | Delivered | Shipment is delivered to customer |
| AY-0006 | Not Delivered | Shipment delivery attempt failed |
| AY-0007 | Cancelled | Shipment was cancelled |
| AY-0008 | Returned | Shipment is returned to shipper |
| AY-0009 | In Transit | Shipment is in transit |
| AY-0010 | Delayed | Shipment is delayed upon customer request |
| AY-0011 | Cancelled | Shipment cancelled |
| AY-0012 | Received at Qassim Hub | Shipment received at Qassim hub |
| AY-0013 | Missing Phone / Address | Missing consignee information |
| AY-0017 | Received Back in Warehouse | Returned after failed delivery attempts |
| AY-0026 | Received at Riyadh Warehouse | Shipment received at Riyadh warehouse |
| AY-0027 | Received at Qaseem Warehouse | Shipment received at Qaseem warehouse |
| AY-0028 | Out for Return to Shipper | Shipment is returning to shipper |
| AY-0029 | Pickup Cancelled | Pickup cancelled |
| AY-0030 | Received at Jeddah Warehouse | Shipment received at Jeddah warehouse |
| AY-0032 | Pending | Shipment is pending |
| AY-0034 | Received at Dammam Warehouse | Shipment received at Dammam warehouse |
| AY-0038 | Reverse Pickup Incomplete | Reverse pickup was not completed |
| AY-0039 | Assigned to Collection Driver | Driver assigned for collection |
| AY-0040 | No Answer | Customer did not answer |
| AY-0041 | Out of Network | Destination outside delivery network |
| AY-0042 | Reverse Pickup Complete | Reverse pickup completed |
| AY-0046 | Reverse Pickup Partially Complete | Reverse pickup partially completed |
| AY-0050 | On Hold | Shipment is on hold |
| AY-0055 | RPS Driver Dispatched | Reverse pickup driver dispatched |
| AY-0056 | Received at Khamis Warehouse | Shipment received at Khamis warehouse |
| AY-0058 | Lost | Shipment lost |
| AY-0059 | Processing for Return | Processing return to shipper |
| AY-0064 | Waiting Address Validation | Shipment awaiting address validation |
| AY-0065 | Address Validated | Address validated |
| AY-0066 | Remote City | Awaiting remote area service day |
| AY-0068 | Arrived at Delivery Warehouse | Shipment arrived at delivery warehouse |
| AY-0069 | Created at External | Shipment created by external partner |
| AY-0070 | Picked Up - External | Picked up by external partner |
| AY-0071 | Reverse Pickup Out for Collection | Reverse pickup out for collection |
| AY-0072 | Reverse Pickup Received in Warehouse | Reverse pickup received |
| AY-0073 | Reverse Pickup Delivered | Reverse pickup delivered |
| AY-0076 | Received at Madinah Warehouse | Shipment received at Madinah warehouse |
| AY-0079 | Processing for Remote Area | Processing remote area shipment |
| AY-0080 | Received at Jazan | Shipment received at Jazan |
| AY-0082 | Received at Tabuk Warehouse | Shipment received at Tabuk warehouse |
| AY-0083 | Received at Hail Warehouse | Shipment received at Hail warehouse |
| AY-0084 | Return to Aymakan Warehouse | Returned to Aymakan warehouse |
| AY-0086 | Received at Taif Warehouse | Shipment received at Taif warehouse |
| AY-0088 | Received in Clearing Department | Customs clearing |
| AY-0090 | Hold for Dispatch | Shipment on dispatch hold |
| AY-0091 | Cancelled by Consignee | Shipment cancelled by consignee |
| AY-0093 | Mailroom On Hold | Mailroom shipment on hold |
| AY-0094 | Mailroom Processing for Return | Mailroom return processing |
| AY-0095 | Scheduled Delivery | Delivery scheduled upon customer request |
| AY-0096 | Received at Hofuf Warehouse | Shipment received at Hofuf warehouse |
| AY-0097 | Dispatch External | Dispatched to external carrier |
| AY-0098 | Received in HBT Station | Shipment received in HBT station |
| AY-0099 | Arrived at Destination Warehouse | Shipment arrived at destination warehouse |
| AY-0101 | Received in Najran Station | Shipment received in Najran |
| AY-0102 | Received in Yanbu Warehouse | Shipment received in Yanbu |
| AY-0103 | Received at Baha Warehouse | Shipment received in Baha |
| AY-0104 | Received at Bisha Warehouse | Shipment received in Bisha |
| AY-0105 | Cancelled by Shipper | Shipment cancelled by shipper |
| AY-0108 | Deposited to Locker | Shipment deposited into locker |
| AY-0109 | Locker Expired | Locker holding period expired |
| AY-0110 | Locker AWB Generated | Locker shipment created |
| AY-0111 | Out for Deposit | Driver is depositing shipment |
| AY-0112 | Retrieved | Shipment retrieved from locker |
| AY-0113 | Locker Cancelled | Locker delivery cancelled |
| AY-0114 | Out for Pickup | Driver out to collect shipment |
| AY-0116 | External Assigned | Assigned to external logistics provider |
Reason codes are included only when additional context is required.
| Reason Code | Reason | Description |
|---|---|---|
| AY-102 | No Answer | Customer did not answer driver's phone |
| AY-103 | Delayed | Delivery postponed by customer |
| AY-104 | Wrong Number | Invalid phone number |
| AY-23 | Price Difference | COD amount mismatch |
| AY-24 | Phone is Off | Customer phone switched off |
| AY-0014 | Cancelled | Shipment cancelled |
| AY-0025 | No Contact | Driver could not contact customer |
| AY-0031 | Change Address | Customer requested address change |
| AY-0036 | Missing Address | Delivery address incomplete |
| AY-0037 | Out of Network | Destination outside service area |
| AY-0060 | Unsupported Payment Method | Requested payment method is unavailable |
| AY-0085 | Lost | Shipment lost |
| AY-0107 | Cancelled by Shipper | Shipment cancelled by shipper |
| Reason Code | Reason |
|---|---|
| AY-0047 | Unclear Address |
| AY-0048 | Future Delivery |
| AY-0049 | Wrong Number |
| AY-0054 | COD Amount Dispute |
| AY-0057 | Unclear Address / Information |
| Reason Code | Reason |
|---|---|
| AY-0043 | No Answer |
| AY-0045 | Cancelled |
| AY-0061 | Delay |
| AY-0062 | Wrong Number |
| AY-0063 | Change Address |
| Reason Code | Reason |
|---|---|
| AY-0067 | Pickup Complete - Excess |
| Reason Code | Reason |
|---|---|
| AY-0044 | Partially Picked Up - Missing SKU |
| Reason Code | Reason |
|---|---|
| AY-0052 | Attempts Completed (Consignee Not Reachable) |
| AY-0053 | Out of Network |
| AY-0081 | Damage |