Follow

We welcome you to build a 3rd party integration with us. We have 3rd party services who had built integrations with us utilizing our Webhooks feature. Orders2me can send HTTP POST notifications to third-party systems when orders are submitted.

This is effectively no-touch from us -- it's all development on your side, should you choose to build an integration into our product. We don't develop any support for your product, but you develop the support for ours.

Webhooks work by, for example, sending data to the third party whenever an order would come in for the restaurant. You then program on your side what to do with the data.

It's simple, here's how a webhook works:
1.) Customer places an order via Orders2me
2.) Our system looks at the restaurant in the database and sees that there is a URL configured to send a webhook to.
3.) We send data regarding the order to the URL that you would have configured to receive the data.
4.) You receive the data at the configured endpoint.

 

Examples order data is featured below:

Form values
action new_order
restaurant 521fb2bbf61e46564d000004
order 5d39c827505ee95f487b23cb
order_data {"name":"Your Restaurant Here","restaurant":"521fb2bbf61e46564d000004","creation_time":"07/25/2019 11:17:59 am","status":"Submitted","s":"1","c":"1","paid":"G7OFOwm6H50H8jn2BkJX50QKJtL","type":"takeout","submit_url":"https://www.getordering.com/submit/5d39c827505ee95f487b23cb","items":[{"id":"5d39c831505ee943497b23c7","menuitem":"5bc75ac4515ee9426817b600","name":"Chicken Wings","quantity":"1","options":[{"name":"Choose Vegetables: Pickles (1)","price":"0","pos":"","prices":{"6 Pieces":"","12 Pieces":"","24 Pieces":""},"cpos":{"6 Pieces":"","12 Pieces":"","24 Pieces":""},"cal":"","is_default":"0","is_disabled":"0","option_name":"Pickles","quantity":"1","group_name":"Choose Vegetables","base_price":"0"},{"name":"Choose Vegetables: Tomatoes (1)","price":"0","pos":"","prices":{"6 Pieces":"","12 Pieces":"","24 Pieces":""},"cpos":{"6 Pieces":"","12 Pieces":"","24 Pieces":""},"cal":"","is_default":"0","is_disabled":"0","option_name":"Tomatoes","quantity":"1","group_name":"Choose Vegetables","base_price":"0"}],"category":"Starters","order_type":"both","price":"11.99","total_price":"11.99","opts_price":"0","incl_options_price":"0","size":"12 Pieces"},{"id":"5d39c83a4f5ee90f3f7b23cd","menuitem":"5be0bf424f5ee91609c44916","name":"Penne Vodka","quantity":"1","options":[{"name":"Side Dish: Fries","price":"0","pos":"","prices":[""],"cpos":[""],"cal":"","is_default":"0","is_disabled":"0","option_name":"Fries","quantity":"1","group_name":"Side Dish","base_price":"0"},{"name":"Choice of Spice Level: Lite Lemon","price":"0","pos":"","prices":[""],"cpos":[""],"cal":"","is_default":"0","is_disabled":"0","option_name":"Lite Lemon","quantity":"1","group_name":"Choice of Spice Level","base_price":"0"}],"category":"Pasta","order_type":"both","price":"9.99","total_price":"9.99","opts_price":"0","incl_options_price":"0","size":""}],"fee":"","total_amount":"27.52","tax":"1.95","subtotal":"21.98","delivery_fee":"0","time":"30","short_id":"6472","submit_time":"07/25/2019 11:18:24 am","u":"rafi@nycmobilegroup.com","customer_name":"Test Order","customer_phone":"8008811622","address":"1724 East 12th Street","zip":"11229","card":{"type":"visa","digits":"1111","month":"1","year":"2021","token":"AV2OhgQvi3iPa3w6kPcUGJePduD"},"due_timestamp":"1564069704","tip":"3.59","id":"5d39c827505ee95f487b23cb","submit_now":"1","asap_lead_time":"30","currency":"USD","creation_timestamp":"1564067879","submit_timestamp":"1564067904","donation":"0"}
 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.