Webhook Configuration
Update a webhook configuration.
This endpoint allows you to partially update an existing webhook configuration. At least one of url, enabled or event_types must be provided. Any field which is not provided keeps its current value. If event_types is provided it replaces the existing list entirely rather than being merged with it.
patch/api/v1/webhooks/{webhookConfigId}/
Request
- Base URLhttps://partnerapi-staging.depop.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
webhookConfigIdstring uuid required
The ID of the webhook configuration to be updated.
Request body
Example request
{
"enabled": false
}Response
Webhook configuration was updated successfully.
Example response
{
"webhook_id": "33a735f2-e68f-49b4-8192-45fb7ec50ce6",
"url": "https://example.com/webhooks",
"enabled": false,
"event_types": [
"v1:order.*",
"v1:product.update"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.