post https://api.yelp.com/v3/visits//cancel
Cancel an on-my-way or a waitlist visit by the given encrypted visit identifier.
Curl example with OAuth authentication:
root@test:~# curl -X POST "https://api.yelp.com/v3/visits/{VISIT_ID}/cancel" --header 'accept: application/json' --header "Authorization: Bearer ${API_TOKEN}"
If the visit is canceled successfully, the client will receive an empty 204 response.
Note: In order to use this endpoint, the caller should be an onboarded Yelp Waitlist partner