Create waitlist on-my-way

Create a waitlist on-my-way visit in a restaurant.

Curl example with OAuth authentication:

    root@test:~# curl -X POST https://api.yelp.com/v3/businesses/{BUSINESS_ID}/waitlist/on-my-way --header 'accept: application/json' --header "Authorization: Bearer ${API_TOKEN}" -d "{\"name\": \"Customer Name\", \"party_size\": 2, \"phone\": \"+19050000000\", \"arrival_range_max\": 30, \"arrival_range_min\": 10}""

Example 201 response:

{
    "visit_id": "Encoded visit id",
    "party_size": 2,
    "arrive_by_time": 1714577798
}

Note: In order to use this endpoint, the caller should be an onboarded Yelp Waitlist partner

Language
Credentials
Header
Click Try It! to start a request and see the response here!