Update webhook

PUT

https://api.pack.cloud/v1/organizations/{organizationId}/webhooks/{webhookId}

Request

Path parameters

organizationIdstring
webhookIdstring

Payload

event_codestring
The subscribed event
Allowed values:order.canceledorder.createdorder.shipped
Example:orders.created
endpointstring
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstring
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledboolean

Response

OK

Body

idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.