Webhooks
Configure a callback URL in your API settings to receive order-status instead of polling.
Delivery & retries
- QCC POSTs
application/jsonto your endpoint. Return an HTTP 2xx to acknowledge. - On a 5xx response we retry up to 3 times, about 3 seconds apart, then stop. We recommend monitoring your callback logs and alerting on 5xx.
Payload
| Parameter | Type | Description |
|---|---|---|
eventType | String(50) | Event type, e.g. Order Status. |
result | Object | Event result (below). |
Result
| Parameter | Type | Description |
|---|---|---|
orderNo | String(50) | Order number used to retrieve data. |
qccCode | String(50) | QCC code. |
objectName | String(500) | Target legal (script) name. |
objectNameEn | String(1000) | Target English name. |
status | String(1) | S = success, F = failure. |
{
"eventType": "OrderStatus",
"result": {
"orderNo": "A2026...",
"qccCode": "QCN...",
"objectName": "Sample Company",
"status": "S"
}
}