Update Shipping Zone
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
PUT
https://api.salla.dev/admin/v2
Shipping Zones
Last modified:2025-04-24 10:16:45
zone_id
as a path parameter.Note
country
and city
IDs to "-1"
. When set this way, the code
and mobile_code
variables will be excluded from the response.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.salla.dev/admin/v2/shipping/zones/' \
--header 'Content-Type: application/json' \
--data-raw '{
"company": 488260393,
"shipping": {
"country": 1939592358,
"city": 1592433390,
"cities_excluded": [
257742554,
81998629
],
"cash_on_delivery": {
"fees": 12,
"status": true
},
"fees": {
"type": "rate",
"amount": 11,
"up_to_weight": 5,
"amount_per_unit": 2,
"per_unit": 3
},
"duration": "13 days"
}
}'
Response Response Example
200 - Example
{
"status": 200,
"success": true,
"data": {
"id": 488260393,
"zone_code": ".SA.riyadh",
"company": {
"id": 1473353380,
"slug": "ABU HALIFA"
},
"country": {
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966"
},
"city": {
"id": 1473353380,
"name": "الرياض",
"name_en": "Riyadh"
},
"cities_excluded": [
{
"id": 257742554,
"name": "أبو حليفة",
"name_en": "ABU HALIFA"
}
],
"fees": {
"amount": "15.00",
"currency": "SAR",
"type": "fixed",
"weight_unit": "kg",
"up_to_weight": 5,
"amount_per_unit": 2,
"per_unit": 3
},
"cash_on_delivery": {
"status": true,
"fees": "12.00"
},
"duration": "3-5"
}
}
Request
Path Params
zone_id
string
required
Body Params application/json
Responses
Modified at 2025-04-24 10:16:45