Skip to main content
PATCH
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
shipping
/
regions
/
{id}
Update Shipping Region
curl --request PATCH \
  --url https://api.sabivendor.com/api/v1/hub/shop/{shopId}/shipping/regions/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Shop-API-Key: <x-shop-api-key>' \
  --data '
{
  "price": 123,
  "isActive": true
}
'
{
  "status": "success",
  "message": "Shipping region updated successfully",
  "data": {
    "id": 13,
    "shippingFeeKobo": 280000,
    "isActive": true
  }
}
Modifies price or toggles active status for an existing shipping region delivery rate.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
id
number
required
The unique ID of the shipping region rate.

Request Body (JSON)

price
number
Updated delivery fee in Kobo.
isActive
boolean
Toggles rate active status.
{
  "status": "success",
  "message": "Shipping region updated successfully",
  "data": {
    "id": 13,
    "shippingFeeKobo": 280000,
    "isActive": true
  }
}