Create Webhook
Programmatic Webhooks
Create Webhook
Create a new webhook subscription.
POST
Create Webhook
Documentation Index
Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
OAuth 2.0 authorization
Body
application/json
The webhook's topic.
Available options:
return, label, restock, label.request, giftcard, happy.returns.shipment Example:
"return"
The condition which triggers the webhook.
Available options:
return.created, return.updated, return.closed, label.created, label.updated, restock.requested, label.request.issued, label.request.cancelled, giftcard.requested, shipment.processed Example:
"return.created"
The webhook's URL.
Example:
"https://example.com/webhook"
The webhook's status.
Available options:
active, inactive Response
Success
The webhook's unique identifier.
Example:
12345
The unique identifier of the shop that created the webhook.
Example:
65432
The webhook's topic.
Available options:
return, label, restock, label.request, giftcard, happy.returns.shipment Example:
"return"
The condition which triggers the webhook.
Available options:
return.created, return.updated, return.closed, label.created, label.updated, restock.requested, label.request.issued, label.request.cancelled, giftcard.requested, shipment.processed Example:
"return.created"
The webhook's URL.
Example:
"https://example.com/webhook"
The webhook's status.
Available options:
active, inactive