get https://partner-api.yelp.com/token/v1/businesses
Fields in the JSON HTTP 200 response body:
Paramater Name | Description |
---|---|
business_ids | A list of business ids associated with the access token’s business user |
Error Scenarios
For the following error scenarios, Yelp will respond with an HTTP error with the following format for the response body:
{
"error": {
"id" : "<ERROR_CODE_ID>",
"description": "<Human readable description.>",
"http_code": "<http_code>"
}
}
id | Description | http_code |
---|---|---|
INVALID_TOKEN | The access token provided is expired, revoked, malformed, or invalid for other reasons | HTTPUnauthorized (401) |
INVALID_REQUEST | Missing a required parameter or includes an unsupported parameter. | HTTPBadRequest (400) |
INSUFFICIENT_SCOPE | The request requires higher privileges than provided by the access token. | HTTPBadRequest (400) |
This endpoint is part of the Respond to Reviews API, visit Respond to Reviews API to learn more.