Skip to content

Notification Examples ​

Pickup Notification (Glovo Delivery) ​

Pickup Example - with discount
json
{
  "traceCode": null,
  "traceId": null,
  "order_id": "616624880",
  "store_id": "test__aaa12321",
  "order_code": "TMRXMGYXV",
  "order_time": "2023-05-09 22:42:42",
  "order_type": "pickup",
  "estimated_pickup_time": "2023-05-09 22:55:14",
  "payment_method": "DELAYED",
  "currency": "RON",
  "payment_total": 3075,
  "courier": { "name": "Test T.", "phone_number": "+3333" },
  "customer": { "name": "Test Customer", "phone_number": "N/A", "hash": "740c4544-3d69-3187-b564-80eecfa83e77", "invoicing_details": null },
  "fees": [],
  "discounts": [
    { "code": "Discount", "description": "Discount based on customer order for glovo delivery order", "value": 1025 }
  ],
  "products": [
    { "id": "shaorma-mare-delivery-meniu_shaorma", "purchased_product_id": "MTgzMjYyMjA4MA==", "quantity": 1, "price": 4100, "name": "Shaorma mare pui + cartofi + racoritoare + sos deep", "attributes": [] }
  ],
  "delivery_address": null,
  "bundled_orders": []
}
Marketplace Example - cash payment, multiple discounts
json
{
  "traceCode": null,
  "traceId": null,
  "order_id": "616610156",
  "store_id": "TEST__22222",
  "order_code": "CJTN7YT3E",
  "order_time": "2023-05-09 22:26:03",
  "order_type": "delivery",
  "payment_method": "CASH",
  "currency": "RON",
  "payment_total": 6796,
  "customer_cash_payment_amount": 10000,
  "courier": { "name": null, "phone_number": null },
  "customer": { "name": "Test Test", "phone_number": "+4444", "hash": "c8a5baf3-e630-33ce-b6e6-48ea4b17ca71", "invoicing_details": null },
  "fees": [
    { "code": "DeliveryFee", "description": null, "value": 599 }
  ],
  "discounts": [
    { "code": "Voucher", "description": "Calculated voucher from order", "value": 900 },
    { "code": "Discount", "description": "Discount based on customer order for restaurant delivery order", "value": 900 }
  ],
  "products": [
    { "id": "15710361-15914393", "quantity": 1, "price": 999, "name": "Inele de ceapa", "attributes": [] },
    { "id": "19194151-16341228", "quantity": 1, "price": 4499, "name": "Pizza Anghinare", "attributes": [] }
  ],
  "delivery_address": { "label": "Delivery address", "latitude": 46.771634, "longitude": 23.6301196 },
  "bundled_orders": []
}
Marketplace Example - with product attributes
json
{
  "order_id": "616604244",
  "store_id": "test__1111",
  "order_code": "CJWCL11UW",
  "order_type": "delivery",
  "payment_method": "DELAYED",
  "payment_total": 13994,
  "courier": { "name": null, "phone_number": null },
  "customer": { "name": "Test Test", "phone_number": "+2222", "hash": "016e3838-d5cd-3981-8cc3-8601a2a115a7", "invoicing_details": null },
  "fees": [{ "code": "DeliveryFee", "value": 599 }],
  "discounts": [],
  "products": [
    { "id": "15914065-15914432", "quantity": 1, "price": 500, "name": "Chilli Mayo", "attributes": [] },
    {
      "id": "15710352-15914267", "quantity": 1, "price": 3599, "name": "Chicken Burger",
      "attributes": [{ "id": "cf-15710352-15914267-17038868", "quantity": 1, "price": 999, "name": "Cartofi Fry n Dip" }]
    },
    {
      "id": "15914058-15914288", "quantity": 1, "price": 3799, "name": "Paste Quattro Formaggi",
      "attributes": [{ "id": "extra-15914058-15914288-16336474", "quantity": 1, "price": 500, "name": "Extra Parmezan" }]
    }
  ],
  "delivery_address": { "label": "Delivery address", "latitude": 46.7518, "longitude": 23.5896 },
  "bundled_orders": []
}