Yelp Developers

Yelp Developer Portal

Welcome to the Yelp Developer Portal. You'll find comprehensive guides and documentation to help you start working with our APIs as quickly as possible. Let's jump right in!

Get Started    

Checkout API

Overview

This specifies the API provided by Yelp that allow partners to create/update/cancel orders that were initiated on the Yelp website/app.

Upgrading from v2 checkout APIs

  • The v3 Order object has an additional attribute collection_type. For orders with prepaid collection_type, users will be charged as soon as order will be submitted on Yelp, without requiring explicit/complete API call from partners.
  • Update and cancel operations on orders will be asynchronous.
  • OrderStatusChangeNotification object now includes user's fulfillment information (email address, phone number etc if at_customer option) and any Yelp coupon discount information, if applicable.

IFrame URL and Content

This is the URL that Yelp will load in an iframe to initiate the ordering flow on the partner's site.

It must be HTTPS. The iframe page must use HTTPS assets as well or browsers will raise mixed content warnings.

A yelp_site query parameter will be added to iframe URLs to mitigate the risk of mixed experiences between a menu page and its host.

yelp_site will be one of {www|m}

Currently, devices families supported by Yelp's mobile site are:

  • iPhone
  • iPod
  • FirefoxOS
  • Android (tablet and phones)

Note the exclusion of iPads, Windows phone and Blackberry devices for instance. Those device will be served Yelp's desktop site (www.yelp.com) and should get a desktop menu page to avoid mixed experiences.

URL template

https://`<partner_domain_path>/<partner_business_id>/?opportunity_token=<opportunity_token>`&yelp_site=m&yelp_locale=en_US

The partner_domain_path shall be pre-registered with Yelp.

Request Params

Property

Type

Description

partner_business_id

utf8_string(1..100)

business_id provided by partner in feed to Yelp

opportunity_token

uuid_hex

token with which Partner can use to lookup delivery address using Yelp Checkout API or to lookup in their caches if they stored it temporarily during the delivery address check on Yelp’s biz details page

pickup

boolean

true if the user wants to pick up order

yelp_site

utf8_string

will be one of www or m for desktop and mobile sites

yelp_locale

utf8_string

see Iframe Specification for more details

Double Submit Behavior

Yelp strongly recommends that partners implement double submit protection. That is, partners should call /checkout/orders/create/v3 only once per user order during the iframe flow.

Updated about a year ago

Checkout API


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.