Notifications
Update Notification Settings
Changed onUpdates the notification channel subscriptions and their parameters. The body maps notification IDs to channels; a channel's parameters replace the stored ones, except the Discord embed template, which is managed by the Discord embed endpoints and always preserved.
post/v1/shops/{shopId}/notifications/settings
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"ShopInvoiceCreated": {
"discord": {
"subscribed": true,
"parameters": {
"webhook_url": "https://discord.com/api/webhooks/1/abc",
"message": "<@&123> New order!"
}
}
}
}Changes
- info
added optional request body
- info