Listing Management Subscription API

🚧

Listing Management Subscription API is deprecated

Please migrate to the Business Subscriptions API

Overview

TBD

Authentication

Authentication uses basic HTTP authentication over SSL. The Data Ingestion API credentials are required to make calls to these endpoints. To gain access to these endpoints, please email [email protected]

Endpoints

GET /listing_management/businesses/v1

This endpoint returns a paginated list of active business subscriptions for Listing Management.

Request Query Parameters

Field nameField description
limitNumber of business subscriptions to return per page.

Default: 50
Minimum: 1
Maximum: 10 000
offsetPage offset.

Default: 0
curl -X GET \
     --user "<user>:<password>" \
     "https://partner-api.yelp.com/listing_management/businesses/v1?limit=2&offset=0"

Response Body Parameters

Field nameField description
limitCurrent limit
offsetCurrent page offset
totalTotal number of business subscriptions
subscriptionsList of business subscriptions
subscriptions[].business_idBusiness ID
subscriptions[].subscribed_atISO 8601 formatted datetime in UTC of when the subscription started.

Example: 2020-02-21T10:40:50+00:00
{
  "total": 3,
  "limit": 2,
  "offset": 0,
  "subscriptions": [
    {
      "subscribed_at": "2020-02-21T10:40:50+00:00",
      "business_id": "VUMc8yNaIW7E3K19nabXfA"
    },
    {
      "subscribed_at": "2020-02-21T10:43:11+00:00",
      "business_id": "bOEsE8ZSp6ltTKB9deFeYw"
    }
  ]
}

POST /listing_management/businesses/add/v1

This endpoint creates new business subscriptions for Listing Management.

Request Body Parameters

Field nameField description
business_idsList of Business IDs

Minimum: 1
Maximum: 500
curl -H "Content-Type: application/json" \
     --user "<user>:<password>" \
     -X POST \
     -d '{"business_ids": ["etdmKzPCEQSBQo4CTRRnDv", "1z5LeXsmSC8TS3yAGFaHZw"]}' \
     "https://partner-api.yelp.com/listing_management/businesses/add/v1"

Response Body Parameters

N/A

{}

POST /listing_management/businesses/remove/v1

This endpoint deletes business subscriptions for Listing Management.

Request Body Parameters

Field nameField description
business_idsList of Business IDs

Minimum: 1
Maximum: 500
curl -H "Content-Type: application/json" \
     --user "<user>:<password>" \
     -X POST \
     -d '{"business_ids": ["etdmKzPCEQSBQo4CTRRnDv", "1z5LeXsmSC8TS3yAGFaHZw"]}' \
     "https://partner-api.yelp.com/listing_management/businesses/remove/v1"

Response Body Parameters

N/A

{}

📘

Check out our Listing Management API Reference Page

:owlbert: Listing Management Endpoints