Notifications

Update Notification Settings

Changed on

Updates 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

Request body

Example request

{
  "ShopInvoiceCreated": {
    "discord": {
      "subscribed": true,
      "parameters": {
        "webhook_url": "https://discord.com/api/webhooks/1/abc",
        "message": "<@&123> New order!"
      }
    }
  }
}

Changes