Create a webhook endpoint
Adds an address for the store’s events to be sent to. secret in the answer is what every delivery to it is signed with: it is answered here and never again, so keep it. The store’s owner is told by email that a webhook was added.
Needs the webhooks.write permission (Change Webhooks).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Body
The https address deliveries are posted to. It cannot point at a private network, and it may name port 80, 443, 8080 or 8443.
"https://example.com/webhooks/shoply"
The events it is sent, by name, or ["*"] for every event there is and every one there will be.
A note for whoever manages the store, up to 160 characters.

