InitPaymentPayPalRequestOrderInfo
order_info is basically the payload we would send later to order request as well.he reason we send whole order_info object to init_payment request is so that backend can create the order via webhooks if network connection becomes too slow or something goes wrong with the order request.
- comboType: array of object
_meals - Properties: 5customerType:
_info - discountType: array of object
_cards - discountsType: array of object
- Properties: 5menuType:
_items - Properties: 4orderType:
_type - singularType: string
_point _id
Examples
{
"singular_point_id": "e7eb00e4-c30c-4f70-a07d-0aca5a0185c9",
"order_type": {
"id": 6,
"pickup_asap": true,
"properties": {},
"pickup_at": "2023-06-23 11:37:12"
},
"menu_items": [
{
"id": "95dec7ad-7baf-467f-9468-0634dc314d99",
"price_level_id": "f1c0305d-74d0-4f7e-ac4f-668985dd3bb3",
"quantity": 1,
"modifiers": [],
"comment": ""
}
],
"combo_meals": [],
"discounts": [],
"discount_cards": [],
"customer_info": {
"first_name": "Olja",
"last_name": "Ivkovic",
"email": "olja.ivkovic@partech.com",
"phone_number": "++43381601234567",
"demographics": []
}
}
