curl --location --request POST 'https://fullers.flamesware.com/api/v1/customer/orders' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"restaurant_id": 2,
"restaurant_location_id": 2,
"delivery_address_id": 5,
"payment_method": "cash",
"payment_method_id": null,
"coupon_code": "FIRSTTIME",
"customer_notes": "Please ring doorbell",
"items": [
{
"type": "product",
"id": 4,
"quantity": 2,
"variant_id": 8,
"addon_ids": [7, 8],
"special_instructions": "Extra spicy please"
}
// ,
// {
// "type": "deal",
// "id": 8,
// "quantity": 1,
// "special_instructions": "No onions",
// "customizations": [
// {
// "product_id": 5,
// "variant_id": 11,
// "addon_ids": [10,11]
// }
// ]
// }
]
}'