Restaurant API

For testing purposes please use this domain - https://r-test.ordr.in/
When in production use this domain - https://r.ordr.in/

Delivery List Gets a list of all restaurants that deliver to a given address.

GET /dl/[datetime]/[zip]/[city]/[addr]

Try it out

 

Either "ASAP" or the format is [2 digit month]-[2 digit day]+[2 digit hours (24 hour clock):[2 digit minutes]

 

Street Address of the delivery location

 

City of the delivery location

 

5 digit postal code of the delivery address

 

This call returns an array of objects (one for each restaurant) which contain the following properties:

 

Ordr.in's restaurant id number

 

If this restaurant is delivering this is set to 1, otherwise it's 0

 

Information about our restaurant delivery partner.

 

The expected delivery time in minutes

 

The restaurant's name

 

The restaurant's formatted phone number

 

The restaurant's delivery minimum

 

The full address of this restaurant

 

The city this restaurant is located in.

 

An array of the cuisine type strings

 

Delivery Check Gets if a particular restaurant will deliver to a given address at a given time

GET /dc/[rid]/[datetime]/[zip]/[city]/[addr]

Try it out

 

Ordr.in's restaurant id number

 

Either "ASAP" or the format is [2 digit month]-[2 digit day]+[2 digit hours (24 hour clock):[2 digit minutes]

 

The delivery location's street address

 

The delivery location's city

 

The delivery location's 5 digit postal code

 

This call returns an object with the following properties:

 

Ordr.in's restaurant id number.

 

An array of meal names that are being delivered at the requested time.

 

If this restaurant is delivering this is set to 1, otherwise it's 0.

 

The expected delivery time in minutes.

 

The minimum order amount.

 

If the restaurant is not delivering this tells why.

 

Fee Calculates all fees for a given subtotal and delivery address

GET /fee/[rid]/[subtotal]/[tip]/[datetime]/[zip]/[city]/[addr]

Try it out

 

Ordr.in's restaurant identifier.

 

The cost of all items in the tray in dollars and cents.

 

The tip in dollars and cents.

 

Either "ASAP" or the format is [2 digit month]-[2 digit day]+[2 digit hours (24 hour clock):[2 digit minutes].

 

The delivery location's street address.

 

The delivery location's city.

 

The delivery location's zip.

 

The response is an object with the following properties:

 

Ordr.in's restaurant identifier.

 

If this restaurant will deliver at the given time to the given address this is 1, otherwise it's 0.

 

The delivery fee on this order.

 

The tax on this order.

 

The expected delivery time in minutes for this order.

 

The minimum order amount.

 

An array of meal names that are being delivered at the requested time.

 

Restaurant Details Gets restaurant details such as the restaurant's menu

GET /rd/[rid]

Try it out

 

Ordr.in's unique restaurant identifier.

 

This call returns an object with the following properties:

 

The street address of this restaurant.

 

The optional second part of the street address. Null if it doesn't have one

 

The city this restaurant is in.

 

This restaurant's formatted phone number.

 

An array of cuisine numbers for this restaurant.

 

An object matching meal numbers to their names.

 

This restaurant's name

 

This restaurant's 5 digit postal code

 

Ordr.in's unique restaurant identifier

 

The state this restaurant is in

 

Information about our restaurant delivery partner.

 

An array of menu categories