Authorization: Bearer ********************curl --location 'https://api.hyperzod.app/kiosk/v1/order' \
--header 'x-tenant: 42' \
--header 'x-client-device: kiosk' \
--header 'X-Kiosk-ID: 7' \
--header 'X-Kiosk-Device-Id: example-kiosk-device-001' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"merchant_id": "64b7f2a9c1e4d5038a6b9120",
"checksum": "932e01e0452018f678b0de901332a616230913580ed960c511b3499f92854ecd",
"order_type": "delivery",
"scheduling_slot": {
"is_scheduled": false
},
"delivery_address_id": "64b7f2a9c1e4d5038a6b9123",
"cart_id": "64b7f2a9c1e4d5038a6b9122",
"order_comment": "Please call when you arrive.",
"user_id": 1001
}'{
"success": true,
"service": "order",
"status_code": 200,
"message": "Request completed successfully.",
"data": {
"order_id": 10842,
"user_id": 1001,
"merchant_id": "64b7f2a9c1e4d5038a6b9120",
"order_type": "delivery",
"order_amount": 30,
"order_status": 2,
"cart": {
"cart_id": "64b7f2a9c1e4d5038a6b9122",
"tenant_id": 42,
"user_id": 1001,
"merchant_id": "64b7f2a9c1e4d5038a6b9120",
"type": "ecommerce",
"cart_items": [
{
"merchant_id": "64b7f2a9c1e4d5038a6b9120",
"product_id": "64b7f2a9c1e4d5038a6b9121",
"product_name": "Grilled Chicken Wrap",
"product_price": 12.5,
"quantity": 2,
"product_instruction": "Dressing on the side, please."
}
],
"total_items": 2,
"sub_total_amount": 25,
"delivery_fee": 3,
"tax": 2,
"discount_amount": 0,
"total_amount": 30,
"checksum": "932e01e0452018f678b0de901332a616230913580ed960c511b3499f92854ecd",
"total_amount_formatted": "$30.00"
},
"order_uuid": "ddabda29-958f-52cd-ad14-dc1d9dea1691"
}
}