Save notification channel
PUT
/ admin/ v1/ stores/ {store_id}/ notifications/ channels/ {channel}- notifications:manage
Connect the store's SMS provider or WhatsApp account, or change it. Credentials are sealed at rest and never returned; send only the ones you change. 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.channelstringrequiredsmsorwhatsapp
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
providerenumrequiredA messaging provider a store can connect.
- unifonic
- taqnyat
- msegat
- meta
senderstringrequiredcredentialsobjectNew credential values by key. Absent or blank keys keep their stored values.
activeboolean
Returns
200 The account.
Errors
- 403
forbiddenMissingnotifications:manage. - 404
not_foundNo such channel. - 412
precondition_failedThe account changed since it was read. - 422
validation_failedValidation failed.