Order Notification
Introduction
Every time a new order is placed in a Glovo store, it will be sent via API to the notification endpoints of the POS solutions registered in the Integration Portal.
For endpoint configuration → POS Endpoint Management
NOTE
In certain situations, notifications may be sent multiple times due to errors. To avoid receiving duplicates, it is recommended to create a unique index on the order_code field.
Notification Format
The notification is sent in JSON format.
A restaurant can deliver with Glovo or with its own drivers (marketplace). Depending on the settings, the JSON payload may or may not contain certain elements.
Glovo Delivery Notification
When delivery is handled by Glovo, customer details are not available in the payload. Only part of the customer's name is included.
json
{
"traceCode": null,
"traceId": null,
"order_id": "616342127",
"store_id": "TEST__111111",
"order_code": "ISRQHPPK1",
"order_time": "2023-05-09 16:16:36",
"order_type": "pickup",
"estimated_pickup_time": "2023-05-09 16:24:48",
"payment_method": "CASH",
"currency": "RON",
"allergy_info": "",
"pick_up_code": "584",
"is_picked_up_by_customer": false,
"cutlery_requested": false,
"special_requirements": null,
"loyalty_card": null,
"payment_total": 5700,
"customer_cash_payment_amount": null,
"courier": {
"name": "BogdanPopa G.",
"phone_number": "+40758604639"
},
"customer": {
"name": "Carmen H.",
"phone_number": "N/A",
"hash": "b4ae646e-094e-374d-b8ee-0594447ac916",
"invoicing_details": null
},
"fees": [],
"discounts": [],
"products": [
{
"id": "27520079",
"purchased_product_id": "MTgzMTc2Mzk0Ng==",
"quantity": 1,
"price": 1200,
"name": "Parmesan fries",
"attributes": []
},
{
"id": "5942500",
"purchased_product_id": "MTgzMTc2Mzk0OA==",
"quantity": 1,
"price": 1500,
"name": "Chickee Corn Dog",
"attributes": []
}
],
"delivery_address": null,
"bundled_orders": []
}