Light Mode
Shippings
Below are the webhook store events paired with their respective data schema related to the Shipping Companies & Shipping Zones webhook events:
Shipping Zone Webhook Events Model
The following includes 2 shipping zone webhook events that share the same model, which are mentioned in the event
enum value under the Data Schema tab
{
"event": "shipping.zone.created",
"merchant": 1305146709,
"created_at": "Thu Apr 14 2022 11:21:47 GMT+0300",
"data": {
"id": 870442223,
"zone_code": ".AE.ajman-city",
"company": {
"id": 488260393,
"slug": null
},
"country": {
"id": 566146469,
"name": "الامارات",
"name_en": "United Arab Emirates",
"code": "AE",
"mobile_code": "+971"
},
"city": {
"id": 374975390,
"name": "مدينة عجمان",
"name_en": "AJMAN CITY"
},
"cities_excluded": [
{
"id": 257742554,
"name": "أبو حليفة",
"name_en": "ABU HALIFA"
},
{
"id": 81998629,
"name": "الأحمدي",
"name_en": "AHMADI"
}
],
"fees": {
"amount": "30",
"currency": "SAR",
"type": "rate",
"weight_unit": "kg",
"up_to_weight": "15",
"amount_per_unit": "2",
"per_unit": "1"
},
"cash_on_delivery": {
"status": true,
"fees": "12"
},
"duration": "3-5"
}
}
Shipping Company Webhook Events Model
The following includes 3 shipping company webhook events that share the same model, which are mentioned in the event
enum value under the Data Schema tab
{
"event": "shipping.company.deleted",
"merchant": 1305146709,
"created_at": "Thu Apr 07 2022 13:48:22 GMT+0300",
"data": {
"id": 488260393,
"name": "شركة سريع",
"status": false
}
}
Last modified: a month ago