Skip to main content
WEBHOOK

Body

application/json
topic
string

Webhook type

Example:

"restock"

trigger
string

The event that triggered the webhook. Only restock.requested is emitted.

Example:

"restock.requested"

id
integer

Loop return ID.

Example:

12345

order_id
integer

Loop order ID

Example:

1234567890

provider_order_id
integer

Order ID from the commerce provider (e.g. Shopify)

Example:

1029384756

restock_items
object[]

Response

200

Return a 200 status to indicate that the data was received successfully