{
"_id": "01JCQ8Z5W3K7X2M4N6P8R0T2V4",
"event": "order.status.changed",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"id": 123,
"uuid": "<string>",
"number": "<string>",
"offer_id": 123,
"offer_name": "<string>",
"price": 123,
"currency": "<string>",
"type": "<string>",
"payment_system_type": "<string>",
"payment_system_name": "<string>",
"status": "<string>",
"old_status": "<string>",
"status_changed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"phone": "<string>",
"subscriber": {
"id": 123,
"user_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"username": "<string>",
"phone": "<string>",
"email": "<string>",
"notes": "<string>",
"tags": "<string>",
"is_active": true,
"is_blocked": true,
"last_active_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"utm_tags": {},
"custom_fields": {}
},
"botId": 123
}
}Orders and subscriptions
Order Status Changed
An order status changed, the previous status is in old_status
WEBHOOK
order.status.changed
{
"_id": "01JCQ8Z5W3K7X2M4N6P8R0T2V4",
"event": "order.status.changed",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"id": 123,
"uuid": "<string>",
"number": "<string>",
"offer_id": 123,
"offer_name": "<string>",
"price": 123,
"currency": "<string>",
"type": "<string>",
"payment_system_type": "<string>",
"payment_system_name": "<string>",
"status": "<string>",
"old_status": "<string>",
"status_changed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"phone": "<string>",
"subscriber": {
"id": 123,
"user_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"username": "<string>",
"phone": "<string>",
"email": "<string>",
"notes": "<string>",
"tags": "<string>",
"is_active": true,
"is_blocked": true,
"last_active_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"utm_tags": {},
"custom_fields": {}
},
"botId": 123
}
}Headers
Body
application/json
Body of every webhook delivery
Response
2XX
Return any 2xx status within 3 seconds to confirm the delivery. Any other status, a connection error or a timeout is retried