POST:webhooks.json
Commerce APIPOST:webhooks.json

POST:webhooks.json

Description

Create one or multiple webhook endpoints.

Permission bit: "webhooks.create"

Topic: Webhooks

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of WebhookCreate

[
  {
    "enabled": true,
    "url": "http://foobar.com/webhooks/app",
    "whitelist": [
      ""
    ]
  }
]

Response Body

Array of Webhook

Response Body Type

Loading module