Skip to content

Set location storefront

PUT/admin/v1/stores/{store_id}/locations/{location_id}/storefront
  • settings:write

Sets how a location shows on the storefront.

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.

  • location_idstringrequired

    The location's ID, like loc_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

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

Body

  • shownbooleanrequired

    Shoppers see it (locations in themes).

  • hoursarray of objects

    Monday first, seven days; an empty day is closed. Empty: no hours given.

  • notestring · or null

    What shoppers should know: parking, the entrance, what to bring.

  • pickupboolean

    Parcels are collected here.

Returns

200 As saved.

Errors

  • 404not_foundNo such location.
  • 422validation_failedHours or note can't be saved.