Update a subscription

To update a subscription, you can use the following endpoint:

PUT https://webhook.apaleo.com/v1/subscriptions/{id}

By default we allow you to update all settings of your subscription, like the URL, the list of event and properties. But keep in mind that you cannot update a subscription to the same configuration that your other subscription already has. We try to prevent duplicates and thereby remove unnecessary load from your server.

Here is a sample payload:

{
  "endpointUrl": "https://www.example.com",
  "events": ["reservation/*"],
  "propertyIds": [
    "MUC",
    "LON"
  ]
}