Show Webhook
Returns the webhook with the given id, including its subscribed events and current state.
AuthorizationBearer
Authorization
default In: header
Path Parameters
The ID of the webhook.
Header Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/webhooks/2" \ -H "X-Api-Version: 2022-02-01"{ "id": 3, "description": [], "version": "2022-02-01", "state": "inactive", "url": "https://example.org/webhooks/scribe-update-1775819550", "events": [], "created_at": "2026-04-10T11:09:42+00:00", "updated_at": "2026-04-10T11:12:43+00:00"}Create Webhook POST
Creates a webhook endpoint that listens to one or more of the [available events](/docs/checkout/2022-02-01/endpoints/webhooks/listWebhooks): it receives a POST request whenever one of the selected events happens in this app, such as an order or variant reaching a certain state. > **Warning:** You can create up to 10 webhooks per event. ### Attributes | Field | Type | Description | Required | |-------------|--------|-----------------------------------------------------------------------------------------------|----------| | url | string | The URL to listen for incoming POST notification containing event information. | yes | | token | string | A token to secure your url. | | | version | string | The version in which the information should be transformed to. Default: `current api version` | | | description | json | A json object of localized description. | | | state | string | State of the endpoint (see below). Default: `inactive` | | | events | array | An array of Event Objects (see below). | yes | ### States | name | Default | |----------|---------| | inactive | yes | | active | | ### Event Object | Field | Type | Description | Required | |-------|--------|-------------------|----------| | name | string | The internal name | yes |
Delete Webhook DELETE
Deletes the webhook with the given `id` so it no longer receives events. A successful `DELETE` results in `HTTP 204` with an empty response body (see [Basic Usage → Response](/docs/checkout/2022-02-01/basic/response)).