Update local delivery area
PATCH
/ admin/ v1/ stores/ {store_id}/ shipping/ local-delivery-areas/ {area_id}- settings:write
Change a local delivery area.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.area_idstringrequiredThe area's ID, like
shr_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
location_idstring · or nullTypeID with the
locprefix.namestring · or nullkindenum · or nullThe shape of an area.
- radius
- polygon
- places
- postal_codes
radius_kmnumber · or nullpolygonarray of objects · or nullplacesarray of strings · or nullpostal_codesarray of strings · or nullpriceobject · or nullAn exact amount of money in the currency's minor unit (halalas, cents, fils…).
Returns
200 The area.
Errors
- 404
not_foundNo such area. - 422
validation_failedValidation failed.