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_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.location_idstringrequiredThe location's ID, like
loc_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
shownbooleanrequiredShoppers see it (
locationsin themes).hoursarray of objectsMonday first, seven days; an empty day is closed. Empty: no hours given.
notestring · or nullWhat shoppers should know: parking, the entrance, what to bring.
pickupbooleanParcels are collected here.
Returns
200 As saved.
Errors
- 404
not_foundNo such location. - 422
validation_failedHours or note can't be saved.