Update pickup option
PATCH
/ admin/ v1/ stores/ {store_id}/ shipping/ pickup-options/ {option_id}- settings:write
Change a local pickup option.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.option_idstringrequiredThe pickup option'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 nullinstructionsstring · or nullscheduleobject · or nullCustomers pick a day, or a day and a window.
activeboolean · or null
Returns
200 Updated pickup option.
Errors
- 404
not_foundNo such pickup option. - 422
validation_failedValidation failed.