v14
OpenAPI 3.1.02026-08-03122113375.9 KBseller-webhooks
Replace a subscription
Replace the full subscription event set for a webhook endpoint.
This endpoint uses replacement semantics, not patch semantics.
How replacement works:
- The provided 'events' array becomes the complete source of truth.
- Existing subscriptions not included in the request are removed.
- New events in the request are added.
Usage guidance:
- Send the complete desired event list every time.
- Send an empty array to unsubscribe from all events.
- Fetch current state first with GET /seller/webhooks/{webhookId} when building edit flows.
Typical workflow:
- Read current subscriptions.
- Build and submit the full desired 'events' array.
- Verify with GET /seller/webhooks/{webhookId} or GET /seller/webhooks.
put/seller/webhooks/{webhookId}/subscriptions
Path parameters
webhookIdstring required
Identifier of the webhook endpoint to update
Identifier of the webhook endpoint to update
Request body
Response
Updated webhook endpoint including subscriptions