post https://sandbox-api.itsacheckmate.com/api/v2/orders/
Create an Order against your location. The location has to be verified first in order to call this API.
You can only access this API if you have an access token issued with the scope orders
Example Request
Following is a sample request payload for an order with basic details.
{
"order": {
"meta": {
"id": "5455681",
"type": "restaurant_delivery",
"notes": " Please include plastic utensils, napkins, forks, etc.",
"requested_at": null
},
"customer": {
"first_name": "Test",
"last_name": "User",
"phone": "(202) 210-5529",
"email": "[email protected]",
"address": {
"street": "102 Bradhurst Ave.",
"street2": "Apartment Number: 604",
"city": "New York",
"state": "NY",
"postal_code": "10039"
}
},
"items": [
{
"group_name": "Soup Noodles",
"name": "Herbal Beef Soup",
"id": "667336",
"price": 1500,
"quantity": 1,
"special_request": "",
"name_label": "",
"modifiers": [
{
"group_name": "Spice Level",
"id": "1234A",
"name": "High (No Refunds)",
"price": 0,
"quantity": 1,
"modifiers": [
]
},
{
"group_name": "Noodle Type",
"id": "1234B",
"name": "Chopped Ribbon",
"price": 100,
"quantity": 1,
"modifiers": [
]
}
]
}
],
"payment": {
"cash_payment": false,
"tip": 160,
"discounts": [
],
"service_fees": [
{
"name": "Delivery Fee",
"amount": 250
}
]
}
}
}