6. order.updated (OL -> Deliverect)
Requires an existing Deliverect mapping in the order metadata, otherwise returns not_deliverect_order. Loop guard: if status_id equals the last status Deliverect itself set, the event is ski
POST
/v1/webhooks/deliverect
Query parameters
event
|
string |
Example: order_updated
|
Headers
Content-Type
Required
|
string |
Example: application/json
|
Body parameters
body
Required
|
string |
Example: {
"type": "order_updated",
"orderlemon": {
"shop": {
"id": {{deliverect_shop_id}}
},
"order": {
"id": {{deliverect_ol_order_id}},
"status_id": 3,
"status_label": "done",
"payment_status_id": 2
}
}
}
|
Requires an existing Deliverect mapping in the order metadata, otherwise returns not_deliverect_order. Loop guard: if status_id equals the last status Deliverect itself set, the event is skipped as an echo.