PUT
/
webhooks
/
{id}

Authorizations

X-Authorization
string
header
required

Path Parameters

id
integer
required

The webhook's unique identifier.

Body

application/json
topic
enum<string>
required

The webhook's topic.

Available options:
return,
label,
restock
trigger
enum<string>
required

The condition which triggers the webhook.

Available options:
return.created,
return.updated,
return.closed,
label.created,
label.updated,
restock.requested
url
string
required

The webhook's URL.

status
enum<string>

The webhook's status.

Available options:
active,
inactive