v47

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-013871777.1 KB
Webhook-Subscription

Update a webhook subscription

Updates the url or subcribed to events for a webhook subscription. This can be used via the app or via the API by providing an API key.

post/api/service/webhook-subscription/update

Headers

Idempotency-Keystring

Idempotency key for safe retries. Reusing a key with an identical request body returns the cached response. Reusing a key with a different body returns 409.

Request body

{"stackTrail":"components:schemas:UpdateRequestDto:properties:id","oasType":"schema","type":"unknown","description":"The unique identifier of the webhook subscription to update"}
urlstring

The new endpoint where webhook events are sent

eventsstring[]

The new events to subscribe the url to

Response

Returns the updated webhook subscription.

{"stackTrail":"components:schemas:UpdateResponseDto:properties:id","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:UpdateResponseDto:properties:merchant","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:UpdateResponseDto:properties:merchantApp","oasType":"schema","type":"unknown"}
urlstring required
eventsstring[] required
{"stackTrail":"components:schemas:UpdateResponseDto:properties:createdAt","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:UpdateResponseDto:properties:updatedAt","oasType":"schema","type":"unknown"}