Download OpenAPI specification:Download
The Chowly TOOS API (v2) has been built around the principles of efficiency and ease of use. Methods include the vast majority of actions directly related to the Chowly platform’s core functionalities, such as creating and viewing orders, accessing menu items and modifiers, and more.
Creates a new order. Required fields will differ based on service_type. These will be specifically called out.
required | object |
required | object |
required | Array of objects |
{- "customer": {
- "id": "078eb998-3b05-4ae3-8b5c-9063124338cd",
- "name": "Jane J. Doe",
- "phone": "5555555555",
- "address1": "1234 S Main Street",
- "address2": "Suite 180",
- "city": "New York",
- "state": "NY",
- "zip": "10001",
- "cross_street": "Rodeo Drive",
- "special_instructions": "Doorman will let you up."
}, - "info": {
- "id": "4f20a834-d67b-4c76-bb04-2d79fb4c71f7",
- "include_utensils": true,
- "scheduled_time": "2021-01-01T12:00:00Z",
- "pickup_code": "AZ45jd9pQckJf078",
- "service_type": "Delivery",
- "payment_is_cash": false,
- "payment_type": "credit",
- "tip_payment_is_cash": true,
- "tip_payment_type": "cash",
- "subtotal": "28.75",
- "delivery_charge": "3.75",
- "sales_tax": "2.87",
- "tip": "4.59",
- "total": "38.21",
- "coupon_description": "New York Restaurant Coupons - neighborhood discount",
- "coupon_amount": "1.75"
}, - "items": [
- {
- "id": "586240980",
- "name": "Large - Brooklyn Style Pizza",
- "external_id": "A8271710",
- "price": "26.42",
- "quantity": "1",
- "notes": "Please do not include the default Ranch dip.",
- "mods": [
- {
- "id": "bc06e801-17f5-4350-a914-6a10bc0192f1",
- "name": "Pepperoni - Slices",
- "category": "Toppings - MEATS",
- "external_id": "A8271711",
- "price": "2.33",
- "quantity": "1",
- "mods": [
- { }
]
}
]
}
]
}{- "customer": {
- "id": "078eb998-3b05-4ae3-8b5c-9063124338cd",
- "name": "Jane J. Doe",
- "phone": "5555555555",
- "address1": "1234 S Main Street",
- "address2": "Suite 180",
- "city": "New York",
- "state": "NY",
- "zip": "10001",
- "cross_street": "Rodeo Drive",
- "special_instructions": "Doorman will let you up."
}, - "info": {
- "id": "4f20a834-d67b-4c76-bb04-2d79fb4c71f7",
- "include_utensils": true,
- "scheduled_time": "2021-01-01T12:00:00Z",
- "pickup_code": "AZ45jd9pQckJf078",
- "service_type": "Delivery",
- "payment_is_cash": false,
- "payment_type": "credit",
- "tip_payment_is_cash": true,
- "tip_payment_type": "cash",
- "subtotal": "28.75",
- "delivery_charge": "3.75",
- "sales_tax": "2.87",
- "tip": "4.59",
- "total": "38.21",
- "coupon_description": "New York Restaurant Coupons - neighborhood discount",
- "coupon_amount": "1.75"
}, - "items": [
- {
- "id": "586240980",
- "name": "Large - Brooklyn Style Pizza",
- "external_id": "A8271710",
- "price": "26.42",
- "quantity": "1",
- "notes": "Please do not include the default Ranch dip.",
- "mods": [
- {
- "id": "bc06e801-17f5-4350-a914-6a10bc0192f1",
- "name": "Pepperoni - Slices",
- "category": "Toppings - MEATS",
- "external_id": "A8271711",
- "price": "2.33",
- "quantity": "1",
- "mods": [
- { }
]
}
]
}
], - "id": "078eb998-3b05-4ae3-8b5c-9063124338cd"
}Retrieve details about a specific order. The unique identifier associated with the Order must be passed in as a parameter: id: '6D5E8CA3-33C9-4C2B-9481-10CF8B360A61'
| id required | string^[A-Z0-9\-]+$ Unique identifier associated with the Order that was provided in the previous |
{- "order": {
- "id": "6D5E8CA3-33C9-4C2B-9481-10CF8B360A61",
- "payload": "string",
- "external_id": "be08e7b8-efe4-4fd1-b99e-e5831ac0717f",
- "created_at": "2019-01-01T12:00:00Z",
- "completed_at": "2019-01-01T12:00:00Z",
- "error_at": "2019-01-01T12:00:00Z",
- "error_string": "string",
- "ticket_payload": "string"
}
}A single universal/static webhook for all locations is required. The webhook needs to contain all required authentication within the URL; we do not have a way to account for additional validation steps.
The webhook must be set up to receive post requests from the Chowly system. This webhook must handle both order and menu events.
Ensure that the webhook is responding to the order confirmation events with a 200. If this is not received, the order will not be processed.
This webhook is triggered when an order is integrated into the POS.
| order_id | string The Order ID sent by the API user, returned in the info level of the create order API call. |
| chowly_order_id | string The Order ID assigned to this order by Chowly, returned in the top level of the create order API call. |
| estimate | number The estimated prep time for the order. |
{- "order_id": "TEST-ORDER-ABD12",
- "chowly_order_id": "B8888021-D5A6-4F9D-8966-D7C0836FC3A3",
- "estimate": 15
}This webhook is triggered when there is an error integrating an order to the POS.
| event | string Value: "order_issue" |
object | |
object |
{- "event": "order_issue",
- "payload": {
- "entity_id": "TEST-ORDER-ABH29381",
- "chowly_order_id": "C54A0E4A-3EFA-40A5-9CB1-5C5110485DAB",
- "error_message": "The restaurant is currently not accepting orders."
}, - "meta": {
- "version": "2"
}
}This webhook is triggered when a location is paused or unpaused. Use the is_open field to determine the current status of the location and update your system accordingly.
| event | string Value: "location_status_updated" |
object | |
object |
{- "event": "location_status_updated",
- "payload": {
- "api_key": "ab292hyqa",
- "is_open": true
}, - "meta": {
- "version": "2"
}
}