Publisher Suggestions | Hitchhikers Platform
Overview
Publishers in the Publisher Network are constantly monitoring signals from high-quality data sources to ensure the data they have is accurate. If a publisher determines that they may have better or more reliable data for a given field on a listing, they can create a Publisher Suggestion letting you know your data may be out of date or inaccurate. For example, a publisher like Google might receive user-generated feedback that your data is different than what you’re providing in Yext (e.g., your hours or your phone number are different) they will appear in Publisher Suggestions.
Use the Publisher Suggestions APIs to manage those suggestions for potential data changes. The Publisher Suggestions: List and Get endpoints will allow you to access those suggestions. Use the Publisher Suggestions: Update endpoint to tell us to accept or reject a suggestion. When you accept a suggestion, you’ll update the Knowledge Graph to the value that’s suggested by the publisher. If you reject a suggestion, we’ll let the publisher know that their suggested data is wrong and keep the existing value in the Knowledge Graph.
- View a list of all Publisher Suggestions
- Reject or approve changes to your entities
Publisher Suggestions: List
Retrieve suggestions publishers have submitted for the Locations in an account
path Parameters
accountId required | string |
query Parameters
v required | string A date in |
limit | integer <= 50 Default: 10 Number of results to return |
offset | integer Default: 0 Number of results to skip. Used to page through results.
Cannot be used together with |
locationIds | Array of strings Defaults to all account locations with a Listings subscription. Example: loc123,loc456,loc789 |
publisherIds | Array of strings List of publisher IDs. If no IDs are specified, defaults to all publishers subscribed by the account. Example: MAPQUEST,FACEBOOK |
statuses | Array of strings Items Enum: "WAITING_ON_CUSTOMER" "ACCEPTED" "REJECTED" "EXPIRED" When specified, only Publisher Suggestions with the provided statuses will be returned Example: WAITING_ON_CUSTOMER,EXPIRED |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "count": 0,
- "suggestions": [
- {
- "id": "string",
- "publisherId": "string",
- "locationId": "string",
- "dateCreated": "2019-08-24",
- "dateResolved": "2019-08-24",
- "fieldName": "string",
- "status": "WAITING_ON_CUSTOMER",
- "resolvedBy": "string",
- "originalContent": "string",
- "suggestedContent": "string"
}
]
}
}
Publisher Suggestions: Get
Fetches details of a specific Publisher Suggestion
path Parameters
accountId required | string |
suggestionId required | string |
query Parameters
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": "string",
- "publisherId": "string",
- "locationId": "string",
- "dateCreated": "2019-08-24",
- "dateResolved": "2019-08-24",
- "fieldName": "string",
- "status": "WAITING_ON_CUSTOMER",
- "resolvedBy": "string",
- "originalContent": "string",
- "suggestedContent": "string"
}
}
Publisher Suggestions: Update
Accept or reject a Publisher Suggestion.
NOTE: When sending requests to this endpoint, you must provide your Yext user ID in the Yext-User-Id
header.
path Parameters
accountId required | string |
suggestionId required | string |
query Parameters
v required | string A date in |
status required | string Enum: "ACCEPTED" "REJECTED" The status of the Publisher Suggestion |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": { }
}