Skip to content

Exemple Notificări ​

Notificare tip Pickup (livrare Glovo) ​

Exemplu Pickup - cu 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",
  "allergy_info": "",
  "pick_up_code": "964",
  "is_picked_up_by_customer": false,
  "cutlery_requested": false,
  "special_requirements": null,
  "loyalty_card": null,
  "payment_total": 3075,
  "customer_cash_payment_amount": null,
  "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": []
}
Exemplu Pickup - produse multiple, info alergii
json
{
  "traceCode": null,
  "traceId": null,
  "order_id": "616609143",
  "store_id": "TEST__22222",
  "order_code": "TMB9H29JC",
  "order_time": "2023-05-09 22:25:02",
  "order_type": "pickup",
  "estimated_pickup_time": "2023-05-09 22:38:30",
  "payment_method": "DELAYED",
  "currency": "RON",
  "allergy_info": "NU DORESC SALATEE IN SHAORMA SAU GYROS SI NICI SOS DE MASLINE!!!!",
  "pick_up_code": "496",
  "is_picked_up_by_customer": false,
  "cutlery_requested": false,
  "special_requirements": null,
  "loyalty_card": null,
  "payment_total": 6762,
  "customer_cash_payment_amount": null,
  "courier": {
    "name": "TEST",
    "phone_number": "+4444"
  },
  "customer": {
    "name": "TEST S.",
    "phone_number": "N/A",
    "hash": "11ad3b6a-e2ff-39ab-ad7b-d216aee26e82",
    "invoicing_details": null
  },
  "fees": [],
  "discounts": [
    {
      "code": "Discount",
      "description": "Discount based on customer order for glovo delivery order",
      "value": 1988
    }
  ],
  "products": [
    {
      "id": "cola",
      "purchased_product_id": "MTgzMjU4MDQyOQ==",
      "quantity": 1,
      "price": 800,
      "name": "cola",
      "attributes": []
    },
    {
      "id": "shaorma-mare-delivery-meniu_shaorma",
      "purchased_product_id": "MTgzMjU4MDQyOA==",
      "quantity": 1,
      "price": 4100,
      "name": "Shaorma mare pui + cartofi + racoritoare + sos deep",
      "attributes": []
    },
    {
      "id": "shaorma-mica-pui-vatra-delivery-gyrs",
      "purchased_product_id": "MTgzMjU4MDQyNw==",
      "quantity": 1,
      "price": 3850,
      "name": "Gyros pe vatra pui + cartofi + racoritoare + sos Deep",
      "attributes": []
    }
  ],
  "delivery_address": null,
  "bundled_orders": []
}

Notificare tip Marketplace (livrare restaurant) ​

Exemplu Marketplace - plată card
json
{
  "traceCode": null,
  "traceId": null,
  "order_id": "616615673",
  "store_id": "TEST__12345---1",
  "order_code": "BU8GXCCHK",
  "order_time": "2023-05-09 22:32:01",
  "order_type": "delivery",
  "estimated_pickup_time": "2023-05-09 22:41:39",
  "payment_method": "DELAYED",
  "currency": "RON",
  "allergy_info": "",
  "pick_up_code": "242",
  "is_picked_up_by_customer": false,
  "cutlery_requested": false,
  "special_requirements": null,
  "loyalty_card": null,
  "payment_total": 6400,
  "customer_cash_payment_amount": null,
  "courier": {
    "name": null,
    "phone_number": null
  },
  "customer": {
    "name": "TEST",
    "phone_number": "+3333333",
    "hash": "211fc636-3e8a-3de0-99ab-e39c389bad4f",
    "invoicing_details": null
  },
  "fees": [
    { "code": "DeliveryFee", "description": null, "value": 699 }
  ],
  "discounts": [
    { "code": "Voucher", "description": "Calculated voucher from order", "value": 699 }
  ],
  "products": [
    {
      "id": "235",
      "purchased_product_id": "MTgzMjU5Nzk0Mw==",
      "quantity": 1,
      "price": 5000,
      "name": "Ciolan afumat cu fasole iahnie",
      "attributes": []
    },
    {
      "id": "557",
      "purchased_product_id": "MTgzMjU5Nzk0Mg==",
      "quantity": 1,
      "price": 1400,
      "name": "Salată de gogoșari murați",
      "attributes": []
    }
  ],
  "delivery_address": {
    "label": "Adresa de livrare",
    "latitude": 44.3935971,
    "longitude": 26.1297343
  },
  "bundled_orders": []
}
Exemplu Marketplace - plată cash, discounturi multiple
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",
  "estimated_pickup_time": "2023-05-09 22:38:35",
  "payment_method": "CASH",
  "currency": "RON",
  "allergy_info": "",
  "pick_up_code": "726",
  "is_picked_up_by_customer": false,
  "cutlery_requested": false,
  "special_requirements": null,
  "loyalty_card": null,
  "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", "purchased_product_id": "MTgzMjU4MzE1Mg==", "quantity": 1, "price": 999, "name": "Inele de ceapă", "attributes": [] },
    { "id": "19194151-16341228", "purchased_product_id": "MTgzMjU4MzE1MA==", "quantity": 1, "price": 4499, "name": "Pizza Anghinare", "attributes": [] },
    { "id": "15914095-19194805", "purchased_product_id": "MTgzMjU4MzE1MQ==", "quantity": 1, "price": 2499, "name": "Papanasi cu smantana si gem de afine", "attributes": [] }
  ],
  "delivery_address": {
    "label": "Adresa de livrare",
    "latitude": 46.771634,
    "longitude": 23.6301196
  },
  "bundled_orders": []
}
Exemplu Marketplace - cu atribute produse
json
{
  "traceCode": null,
  "traceId": null,
  "order_id": "616604244",
  "store_id": "test__1111",
  "order_code": "CJWCL11UW",
  "order_time": "2023-05-09 22:19:59",
  "order_type": "delivery",
  "estimated_pickup_time": "2023-05-09 22:33:48",
  "payment_method": "DELAYED",
  "currency": "RON",
  "payment_total": 13994,
  "customer_cash_payment_amount": null,
  "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", "description": null, "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": "15710355-15914315",
      "quantity": 1,
      "price": 2999,
      "name": "Tenders",
      "attributes": [
        { "id": "cf-15710355-15914315-17147846", "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": "Adresa de livrare",
    "latitude": 46.75185968139803,
    "longitude": 23.58961270255769
  },
  "bundled_orders": []
}