Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • area_idstringrequired

    The area's ID, like shr_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • location_idstring · or null

    TypeID with the loc prefix.

  • namestring · or null
  • kindenum · or null

    The shape of an area.

    • radius
    • polygon
    • places
    • postal_codes
  • radius_kmnumber · or null
  • polygonarray of objects · or null
  • placesarray of strings · or null
  • postal_codesarray of strings · or null
  • priceobject · or null

    An exact amount of money in the currency's minor unit (halalas, cents, fils…).

Returns

200 The area.

Errors

  • 404not_foundNo such area.
  • 422validation_failedValidation failed.