7a. Pickup order
logistics_type 1 = pickup (no delivery fee, no dispatch validation). The handler builds the whole Deliverect order from this body – it does not re-read the order from the DB. Prices are in c
POST
/v1/webhooks/deliverect
Query parameters
event
|
string |
Example: payment_completed
|
Headers
Content-Type
Required
|
string |
Example: application/json
|
Body parameters
body
Required
|
string |
Example: {
"type": "payment_completed",
"orderlemon": {
"shop": {
"id": {{deliverect_shop_id}}
},
"order": {
"id": {{deliverect_ol_order_id}},
"full_name": "Jan Kowalski",
"phonenumber": "+32471234567",
"logistics_type": 1,
"display_currency_total": 11.00,
"note": "No onions please",
"ordered_time": "2026-08-06 14:00:00",
"pick_up_moment": "2026-08-06 14:30:00",
"delivery_moment": null,
"payment_type": 0,
"payment_status_id": 2,
"payment_status_label": "paid",
"street": "",
"city": "",
"zip": "",
"country": "BE",
"cart": [
{
"id": 1,
"parent_id": null,
"product_reference": "MARG-01",
"product_id": 101,
"item_description": "Margherita",
"unit_price": 10.50,
"vat_percentage": 9,
"quantity": 1,
"campaign_id": null
},
{
"id": 2,
"parent_id": 1,
"product_reference": "XTRA-CHEESE",
"product_id": 102,
"item_description": "Extra Cheese",
"unit_price": 1.50,
"vat_percentage": 9,
"quantity": 1,
"campaign_id": null
},
{
"id": 3,
"parent_id": null,
"product_reference": "PROMO-ORDER",
"product_id": 0,
"item_description": "Promotion",
"unit_price": -1.00,
"vat_percentage": 0,
"quantity": 1,
"campaign_id": 999
}
]
}
}
}
|
logistics_type 1 = pickup (no delivery fee, no dispatch validation). The handler builds the whole Deliverect order from this body – it does not re-read the order from the DB. Prices are in currency units and converted to cents. vat_percentage is required per line, otherwise the tax is sent as 0.
Re-posting the same order.id returns already_sent.