Within the AndDone platform, you can deactivate webhooks at any time. Once a webhook has been deactivated, it will stop delivering messages. At some point, however, you may want to reactivate it in order to start delivering messages again. In that case, use the Activate Webhook API.
If a new webhook with an inactive status is created, then it can be activated using the same API.
URI
|
merchants/{merchantId}/webhooks/{id}/activations
|
Method
|
POST
|
Authorization
|
Bearer Token Authorization
|
Path Parameters
merchantId
|
A unique identifier for the merchant. It is used to fetch all webhook subscriptions associated with that specific merchant.
|
id
|
A unique identifier for a specific webhook subscription within the AndDone platform associated with the merchant. It is used to fetch the details of that particular webhook subscription.
|