Update notification settings
PATCH
/ admin/ v1/ stores/ {store_id}/ notifications/ settings- notifications:manage
Change who receives the store's staff messages. Send If-Match: "v{version}" to avoid overwriting someone else's changes.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
If-Matchstring · or nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
staff_emailsarray of strings · or nullUp to 10 addresses.
staff_phonesarray of strings · or nullUp to 5 mobile numbers, in any usual form.
Returns
200 The settings.
Errors
- 403
forbiddenMissingnotifications:manage. - 404
not_foundNo such store. - 412
precondition_failedThe settings changed since they were read. - 422
validation_failedInvalid addresses or numbers.