post https://api.yelp.com/v3/businesses//rapc_enabledness
This endpoint lets you enable or disable Request a Phone Call for a particular business. Check whether the business is eligible using the Get business by ID endpoint and inspecting the rapc object.
Example:
To enable Request a Phone call for a Business with ID "loPSlzp6M628rzyCRPqrv3tC", send an authenticated POST request to the URL:
https://api.yelp.com/v3/businesses/loPSlzp6M628rzyCRPqrv3tC/rapc_enabledness with the following request body:
{
"is_enabled": true,
}
For the above request, a successful POST call will return a 202 accepted response.