Yelp Endpoints
These endpoints have been created specifically to aid our partners at Yelp in their quest to quickly implement ordering with Grubhub.
Paths
Checkout a cart
POST /yelp/carts/{cart_id}/checkoutDescription
Using a bill token and a Yelp order ID, checks out a cart and sends the order to the restaurant to be fulfilled. You get the bill token through the standard GET /carts/{cart_id}/bill endpoint. For the Yelp implementation, this endpoint replaces the standard checkout endpoint.
This endpoint has a longer timeout than most endpoints: 12000 ms.
Query Parameters
cart_id
Required
UUID
The unique ID of the cart that you want to checkout.
Body
checkout_token
Required
String
The token received from a successful `GET /carts/{cart_id}/bill` request.
yelp_order_id
Required
String
The Yelp order ID to associate with this Grubhub order.
Responses
Models
CheckoutResponse
The response from a successful checkout call.
Properties
order_number
Optional
String
The Grubhub order number of the order created from the cart. This can be used to track the order.