| Trigger | Event |
|---|---|
moved_to_draft | A draft order is created |
moved_to_pending | An order is confirmed (scan or blueprint is uploaded) – can be a draft order or made from scratch |
moved_to_ready | An order is ready – can be first delivery or an update after a change request |
moved_to_fixing | A Change request is made for an order |
curl --location --request PATCH 'https://app.cubi.casa/api/integrate/v3/companies/webhook' \
--header 'api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook_urls": [
"https://domain.com/webhook",
"https://domain.com/webhook-2"
],
"webhook_triggers": [
"moved_to_ready",
"moved_to_fixing"
]
}'{
"webhook_urls": [
"https://domain.com/webhook",
"https://domain.com/webhook-2"
],
"webhook_triggers": [
"moved_to_ready",
"moved_to_fixing"
]
}