{
"opencollection": "1.0.0",
"info": {
"name": "Yext Admin Account Settings Knowledge Manager API",
"version": "2.0"
},
"request": {
"auth": {
"type": "apikey",
"key": "api_key",
"value": "{{api_key}}",
"placement": "query"
}
},
"items": [
{
"info": {
"name": "Knowledge Manager",
"type": "folder"
},
"items": [
{
"info": {
"name": "Entities: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/entities",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "convertMarkdownToHTML",
"value": "",
"type": "query",
"description": "Optional parameter to return fields of type **Markdown** as HTML.\n - `false`: **Markdown** fields will be returned as JSON\n - `true`: **Markdown** fields will be returned as HTML\n"
},
{
"name": "convertRichTextToHTML",
"value": "",
"type": "query",
"description": "Optional parameter to return fields of type **Rich Text** as HTML.\n - `false`: **Rich Text** fields will be returned as JSON\n - `true`: **Rich Text** fields will be returned as HTML\n"
},
{
"name": "entityTypes",
"value": "",
"type": "query",
"description": "Comma-separated list of Entity types to filter on. Example: `\"location,event\"`\n\nShould be from the following types:\n * `atm`\n * `event`\n * `faq`\n * `financialProfessional`\n * `healthcareFacility`\n * `healthcareProfessional`\n * `hotel`\n * `hotelRoomType`\n * `job`\n * `location`\n * `organization`\n * `product`\n * `restaurant`\n\nOR the API name of a custom entity type.\n"
},
{
"name": "fields",
"value": "",
"type": "query",
"description": "Comma-separated list of field names. When present, only the fields listed will be returned. You can use dot notation to specify substructures (e.g., `\"address.line1\"`). Custom fields are specified in the same way, albeit with their `c_*` name."
},
{
"name": "filter",
"value": "",
"type": "query",
"description": "This parameter represents one or more filtering conditions that are applied to the set of entities that would otherwise be returned. This parameter should be provided as a URL-encoded string containing a JSON object.\n\nFor example, if the filter JSON is `{\"name\":{\"$eq\":\"John\"}}`, then the filter param after URL-encoding will be: `filter=%7B%22name%22%3A%7B%22%24eq%22%3A%22John%22%7D%7D`\n\n**Basic Filter Structure**\n\nThe filter object at its core consists of a *matcher*, a *field*, and an *argument*.\n\nFor example, in the following filter JSON:\n\n```\n{\n \"name\":{\n \"$eq\":\"John\"\n }\n}\n```\n\n`$eq` is the *matcher*, or filtering operation (equals, in this example),\n\n`name` is the *field* being filtered by, and\n\n`John` is *value* to be matched against.\n\n**Combining Multiple Filters**\n\nMultiple filters can be combined into one object using *combinators*. For example, the following filter JSON combines multiple filters using the combinator `$and`. `$or` is also supported.\n```\n{\n \"$and\":[\n {\n \"firstName\":{\n \"$eq\":\"John\"\n }\n },\n {\n \"countryCode\":{\n \"$in\":[\n \"US\",\n \"GB\"\n ]\n }\n }\n ]\n}\n```\n\n**Filter Negation**\n\nCertain filter types may be negated. For example:\n\n```\n{\n \"$not\": {\n \"name\": {\n \"$eq\": \"John\"\n }\n }\n}\n```\n\nThis can also be written more simply with a `!` in the `$eq` parameter. The following filter would have the same effect:\n\n```\n{\n \"name\":{\n \"!$eq\":\"John\"\n }\n}\n```\n\n**Filter Complement**\n\nYou can also search for the complement of a filter. This filter would match entities that do not contain \"hello\" in their descriptions, or do not have a description set. This is different from negation which can only match entities who have the negated field set to something.\n\n```\n{\n \"$complement\":{\n \"description\":{\n \"$contains\":\"hello\"\n }\n }\n}\n```\n\n**Addressing Subfields**\n\nSubfields of fields can be addressed using the \"dot\" notation while filtering. For example, if you have a custom field called **`c_myCustomField`**:\n\n```\n{\n \"c_myCustomField\":{\n \"age\": 30,\n \"name\": \"Jim\",\n }\n}\n```\n\nWhile filtering, subfields may be addressed using the \"dot\" notation.\n\n```\n{\n \"c_myCustomField.name\":{\n \"!$eq\":\"John\"\n }\n}\n```\n\nFields that are nested deeper may be addressed using dot notation, as well. For example, if **`name`** in the above example was a compound field with two subfields **`first`** and **`last`**, **`first`** may be addressed as **`c_myCustomField.name.first`**.\n\n**Field Support**\n\nEntity fields correspond to certain filter types, which support matchers. Going by the example above, the field **`name`** supports the `TEXT` filter type, which supports `$eq` (equals) and `$startsWith` (starts with).\n\n**TEXT**\n\nThe `TEXT` filter type is supported for text fields. (e.g., **`name`**, **`countryCode`**)\n\n
\n \n | Filter Type | \n Syntax | \n Description | \n
\n \n | Full | \n fieldName: {contains: $search} | \n $search is the search string | \n
\n \n | Text | \n fieldName: {$type: [$search,...]} | \n $type is one of [contains,doesNotContain,startsWith,equalTo], $search is an array of search strings, combined with OR | \n
\n \n | Text | \n fieldName: $type | \n $type is one of [empty,notEmpty] | \n
\n \n | Number | \n fieldName: {$type: $value} | \n $type is one of [eq,lt,gt,le,ge], $value is the numeric value | \n
\n \n | Number | \n fieldName: {$type: [$value1, $value2]} | \n $type is one of [between], $value1 and $value2 are numeric values | \n
\n \n | Date | \n fieldName: {$type: $value} | \n $type is one of [eq,lt,gt,le,ge], $value is a string of \"YYYY-MM-DD\" formatted date | \n
\n \n | Date | \n fieldName: $type | \n $type is one of [empty,notEmpty] | \n
\n \n | Date | \n fieldName: {$type: [$value1, $value2]} | \n $type is one of [between], $value1 and $value2 are strings of \"YYYY-MM-DD\" formatted date | \n
\n \n | Categories | \n fieldName: {$type: [$id,...]} | \n $type is one of [includes,notIncludes], $id is an array of numeric category IDs, combined with OR | \n
\n \n | Categories | \n fieldName: $type | \n $type is one of [none] | \n
\n \n | Assets | \n fieldName: {$type: [$id,...]} | \n $type is one of [includes,notIncludes], $id is an array of numeric category IDs, combined with OR | \n
\n \n | Assets | \n fieldName: $type | \n $type is one of [none] | \n
\n \n | Country | \n fieldName: {$type: [$country,...]} | \n $type is one of [includes,notIncludes], $country is an array of country code strings, combined with OR | \n
\n \n | PrimaryLanguage | \n fieldName: {$type: [$language,...]} | \n $type is one of [is,isNot], $language is an array of language code strings, combined with OR | \n
\n \n | AlternateLanguage | \n fieldName: {$type: [$language,...]} | \n $type is one of [includes, notIncludes], $language is an array of language code strings, combined with OR | \n
\n \n | StringSingle | \n fieldName: {$type: [$string,...]} | \n $type is one of [is,isNot], $string is an array of strings, combined with OR | \n
\n \n | StringList | \n fieldName: {$type: [$string,...]} | \n $type is one of [includes,notIncludes], $string is an array of strings, combined with OR | \n
\n \n | LocationType | \n fieldName: {$type: [$id,...]} | \n $type is one of [is,isNot], $id is an array of location type IDs, combined with OR | \n
\n \n | Bool | \n fieldName: $type | \n $type is one of [true,false] | \n
\n \n | Option | \n fieldName: {$type: $id} | \n $type is one of [is,isNot], $id is an option ID (For single option custom fields) | \n
\n \n | Option | \n fieldName: {$type: [$id,...]} | \n $type is one of [includes,notIncludes], $id is an array of option IDs, combined with OR (For multi option custom fields) | \n
\n \n | Folder | \n fieldName: [$id,...] | \n $id is a numeric folder ID | \n
\n \n | Folder | \n fieldName: $id | \n $id is a numeric folder ID | \n
\n \n | Folder | \n fieldName: {$type: [$id,...]} | \n $id is a numeric folder ID, $type is one of ['isIn', 'isNotIn'] | \n
\n \n | Labels | \n fieldName: {$type: [$id,...]} | \n $type is one of [includes,notIncludes], $id is an array of label IDs, combined with OR | \n
\n
\n\nThe following fields can be specified in the request (Field name/Filter Type/Example(s)):\n\n\n \n | Field Name | \n Filter Type | \n Example(s) | \n
\n \n | location | \n Full | \n \"location\": {\"contains\": \"Atlanta\"} | \n
\n \n | name | \n Text | \n \"name\": {\"startsWith\": [\"Guitar\"]}, \"name\": {\"contains\": [\"A\",\"B\"]} | \n
\n \n | address | \n Text | \n \"address\": {\"startsWith\": [\"South\"]} | \n
\n \n | address2 | \n Text | \n \"address2\": {\"contains\": [\"Suite\"]} | \n
\n \n | city | \n Text | \n \"city\": {\"contains\": [\"Atlanta\"]} | \n
\n \n | state | \n Text | \n \"state\": {\"contains\": [\"AK\",\"VA\"]} | \n
\n \n | zip | \n Text | \n \"zip\": {\"contains\": [\"M5K 7QB\"]} | \n
\n \n | phones | \n Text | \n \"phones\": {\"startsWith\": [\"703\",\"571\"]} | \n
\n \n | specialOffer | \n Text | \n \"specialOffer\": \"notEmpty\" | \n
\n \n | emails | \n Text | \n \"emails\": {\"doesNotContain\": [\"@yext.com\"]} | \n
\n \n | website | \n Text | \n \"website\": {\"equalTo\": [\"https://www.yext.com/\"]} | \n
\n \n | categories | \n Categories | \n \"categories\": {\"includes\": [23,755,34]} | \n
\n \n | closed | \n Bool | \n \"closed\": true | \n
\n \n | storeId | \n Text | \n \"storeId\": {\"equalTo\": [\"MCD0001\"]} | \n
\n \n | countryCode | \n Country | \n \"countryCode\": {\"notIncludes\": [\"US\"]} | \n
\n \n | products | \n Text | \n \"products\": {\"startsWith\": [\"Burger\",\"Fries\"]} | \n
\n \n | services | \n Text | \n \"services\": {\"contains\": [\"Manicures\"]} | \n
\n \n | specialities | \n Text | \n \"services\": \"notEmpty\" | \n
\n \n | associations | \n Text | \n \"associations\": \"empty\" | \n
\n \n | brands | \n Text | \n \"brands\": {\"equalTo\": [\"North Face\"]} | \n
\n \n | languages | \n Text | \n \"languages\": {\"equalTo\": [\"English\",\"Spanish\"]} | \n
\n \n | keywords | \n Text | \n \"keywords\": {\"startsWith\": [\"Franchise\"]} | \n
\n \n | menuIds | \n IdList | \n \"menuIds\": {\"includes\": [\"m-23\",\"755\",\"menu34\"]} | \n
\n \n | productListIds | \n IdList | \n \"productListIds\": {\"notIncludes\": [\"pl-2\"]} | \n
\n \n | calendarIds | \n IdList | \n \"calendarIds\": {\"notIncludes\": [\"cal34\"]} | \n
\n \n | bioIds | \n IdList | \n \"bioIds\": {\"includes\": [\"b23\",\"34\"]} | \n
\n \n | custom### | \n Text (for Multiline Text, URL, Text List, and Text Custom Fields), Number, Date, Bool, or Option | \n \"custom123\": {\"equalTo\": [\"asdf\"]} | \n
\n \n | folder | \n Folder | \n \"folder\": 123, \"folder\": [123,456] | \n
\n \n | primary_language | \n PrimaryLanguage | \n \"primary_language\": {\"is\": \"fr_CA\"} | \n
\n \n | alternateProfileLanguage | \n AlternateLanguage | \n \"alternateProfileLanguage\": {\"includes\": [\"en\", \"fr\"]} | \n
\n \n | npi | \n StringSingle | \n \"npi\": {\"is\": [\"1234567890\", \"1111111111\"]} | \n
\n \n | conditionsTreated | \n Text | \n \"conditionsTreated\": {\"startsWith\": [\"Influenza\"]}, \"conditionsTreated\": {\"contains\": [\"A\",\"B\"]} | \n
\n \n | lastUpdated | \n Date | \n \"lastUpdated\": {\"eq\": \"2018-01-01\"}, \"lastUpdated\": {\"between\": [\"2017-01-01\", \"2018-01-01\"]} | \n
\n \n | fieldsWithData | \n Fields | \n \"fieldsWithData\": [\"email\", \"hours\"] | \n
\n \n | fieldsWithoutData | \n Fields | \n \"fieldsWithoutData\": [\"logo\", \"video\"] | \n
\n \n | reviewCount | \n Number | \n \"review_count\": {\"gt\": 1}, \"review_count \": {\"lt\": 10} | \n
\n \n | averageRating | \n Number | \n \"averageRating\": {\"lt\": 3} | \n
\n \n | locationType | \n LocationType | \n \"locationType\": {\"is\": [1]}, \"locationType\": {\"isNot\": [123]} | \n
\n \n | gender | \n StringSingle | \n \"gender\": {\"is\": [\"FEMALE\"]}, \"gender\": {\"isNot\": [\"MALE\"]} | \n
\n \n | degrees | \n StringList | \n \"degrees\": {\"includes\": [\"MD\"]}, \"degrees\": {\"notIncludes\": [\"PHD\"]} | \n
\n \n | experiences | \n StringList | \n \"experiences\": {\"includes\": [\"FELLOWSHIP\"]}, \"experiences\": {\"notIncludes\":[\"INTERNSHIP\"]} | \n
\n \n | yearCompleted | \n Number | \n \"yearCompleted\": {\"gt\": 2000}, \"yearCompleted\": {\"lt\": 2015} | \n
\n \n | acceptingNewPatients | \n Bool | \n \"acceptingNewPatients\": true | \n
\n \n | firstName | \n Text | \n \"firstName\": {\"startsWith\": [\"David\"]}, \"firstName\": {\"contains\": [\"A\",\"B\"]} | \n
\n \n | middleName | \n Text | \n \"middleName\": {\"startsWith\": [\"P\"]}, \"middleName\": {\"contains\": [\"N\",\"E\"]} | \n
\n \n | lastName | \n Text | \n \"lastName\": {\"startsWith\": [\"Sm\"]}, \"lastName\": {\"contains\": [\"Y\",\"Z\"]} | \n
\n \n | officeName | \n Text | \n \"officeName\": {\"startsWith\": [\"Chiropractic\"]}, \"officeName\": {\"contains\":[\"Center\",\"P\"]} | \n
\n \n | certifications | \n Text | \n \"certifications\": {\"contains\": [\"Radiation Oncology\"]} | \n
\n \n | institutionName | \n Text | \n \"institutionName\": {\"startsWith\": [\"New York\"]} | \n
\n \n | insuranceAccepted | \n Text | \n \"insuranceAccepted\": {\"startsWith\": [\"United\"]}, \"insuranceAccepted\":{\"contains\": [\"C\",\"Health\"]} | \n
\n \n | admittingHospitals | \n Text | \n \"admittingHospitals\": {\"startsWith\": [\"Children's\"]}, \"admittingHospitals\":{\"contains\": [\"Medical\",\"University\"]} | \n
\n \n | subscriptions | \n IdList | \n \"subscriptions\": {\"notIncludes\": [\"123\"]} | \n
\n \n | facebookAccounts | \n IdList | \n \"facebookAccounts\": {\"notIncludes\": [\"1111\"]} | \n
\n \n | foursquareAccounts | \n IdList | \n \"foursquareAccounts\": {\"notIncludes\": [\"1111\"]} | \n
\n \n | googleplusAccounts | \n IdList | \n \"googleplusAccounts\": {\"notIncludes\": [\"1111\"]} | \n
\n \n | labels | \n Labels | \n \"labels\": {\"includes\": [1, 100]} | \n
\n
\n"
}
]
},
"docs": "Get multiple Locations (primary profiles only) that match provided filters."
},
{
"info": {
"name": "Locations (Legacy): Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "resolvePlaceholders",
"value": "",
"type": "query",
"description": "Optional parameter to resolve all embedded fields in a Location object response.\n- `false`: Location object returns placeholder labels, e.g., \"Your [[CITY]] store\"\n- `true`: Location object returns placeholder values, e.g., \"Your Fairfax store\"\n"
}
]
},
"docs": "Gets the primary profile for a single Location."
},
{
"info": {
"name": "Locations (Legacy): Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates the primary profile for a Location.\n\n**NOTE:** Despite using the PUT method, Locations: Update only updates supplied fields. Omitted fields are not modified.\n\n**NOTE:** The Location's primary profile language can be changed by calling this endpoint with a different, but unused, language code.\n"
},
{
"info": {
"name": "Folders: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/folders",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Returns a list of Location Folders in an Account."
},
{
"info": {
"name": "Menus: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/menus",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
}
]
},
"docs": "Retrieve all Menus for an account."
},
{
"info": {
"name": "Menus: Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/menus",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Menus: Create"
},
{
"info": {
"name": "Menus: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/menus/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Retrieve a specific Menu."
},
{
"info": {
"name": "Menus: Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/menus/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update an existing Menu."
},
{
"info": {
"name": "Menus: Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/menus/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Delete an existing Menu."
},
{
"info": {
"name": "Bios: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/bios",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
}
]
},
"docs": "Retrieve all Bio Lists for an account."
},
{
"info": {
"name": "Bios: Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/bios",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Create new Bio List."
},
{
"info": {
"name": "Bios: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/bios/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Retrieve a specific Bios List."
},
{
"info": {
"name": "Bios: Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/bios/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update an existing Bios List."
},
{
"info": {
"name": "Bios: Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/bios/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Delete an existing Bios List."
},
{
"info": {
"name": "Products: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/products",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
}
]
},
"docs": "Retrieve all Product Lists for an account."
},
{
"info": {
"name": "Products: Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/products",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Create a new Product List."
},
{
"info": {
"name": "Products: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/products/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Retrieve a specific Product List."
},
{
"info": {
"name": "Products: Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/products/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update an existing Product List."
},
{
"info": {
"name": "Products: Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/products/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Delete an existing Products List."
},
{
"info": {
"name": "Events (Legacy): List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/events",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
}
]
},
"docs": "Retrieve all Event Lists for an account."
},
{
"info": {
"name": "Events (Legacy): Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/events",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Create a new Event List."
},
{
"info": {
"name": "Events (Legacy): Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/events/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Retrieve a specific Event List."
},
{
"info": {
"name": "Events (Legacy): Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/events/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update an existing Event List."
},
{
"info": {
"name": "Events (Legacy): Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/events/:listId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "listId",
"value": "",
"type": "path",
"description": "ID of this List."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Delete an existing Event List."
},
{
"info": {
"name": "Categories: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/categories",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "language",
"value": "",
"type": "query",
"description": "Only categories that apply to this language will be returned.\n\nValid values: ISO 639-1 language codes\n\n**Example:** en\n"
},
{
"name": "country",
"value": "",
"type": "query",
"description": "Only categories that apply in this country will be returned.\n\nValid values: ISO 3166-1 alpha-2 country codes\n\n**Example:** US\n"
},
{
"name": "entityType",
"value": "",
"type": "query",
"description": "Only categories that apply to the specified entity type will be returned.\n"
}
]
},
"docs": "Get available Categories.\n\nAll Locations are required to have an associated Category to assist with organization and search. Yext provides a hierarchy of business categories for this purpose, exposed by this API.\n"
},
{
"info": {
"name": "Google Fields: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/googlefields",
"params": [
{
"name": "language",
"value": "",
"type": "query",
"description": "The language code corresponding to the language in which the user would like to retrieve the Google Fields. Only categories that apply to this language will be returned.\n"
},
{
"name": "clientCategoryId",
"value": "",
"type": "query",
"description": "A category id for the business or a Google category ID that, if specified, will filter the result to only include any Google Fields that the provided id maps to.\n"
},
{
"name": "entityId",
"value": "",
"type": "query",
"description": "The external ID of an entity that, if specified, will filter the result to only include any Google Fields that the provided entity has access to.\n\n**NOTE:** The **`entityId`** parameter will only be respected for **`v`** parameters of `20241030` or later.\n"
},
{
"name": "countryCode",
"value": "",
"type": "query",
"description": "The two-character ISO 3166-1 country code, if specified, will filter the result to only include any Google Fields that are eligible for that country.\n"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "\nUse the Google Fields endpoint to retrieve a complete list of Google's location attributes for each business category. This list includes attributes that may not apply to all Locations in an account. The set of attributes available to a Location depends on its primary business category and country. You can view and edit the attributes of Locations in the **`googleAttributes`** Location field.\n\n**NOTE:**\n * Google Attributes are managed by Google and are subject to change without notice. To pre"
},
{
"info": {
"name": "Custom Fields: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/customfields",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "pageToken",
"value": "",
"type": "query",
"description": "If a response to a previous request contained the **`pageToken`** field, pass that field's value as the **`pageToken`** parameter to retrieve the next page of data.\n"
}
]
},
"docs": "Returns a list of Custom Fields in an Account.\n\n**NOTE:** Custom Fields of unsupported types will be filtered out.\n\nThe Custom Fields API will be deprecated in Spring '24. See [here](https://hitchhikers.yext.com/releases/spring23/?target=announcement---custom-fields-api-deprecation) for more details.\n"
},
{
"info": {
"name": "Custom Fields: Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/customfields",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "accountId",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates new Custom Field(s) in an Account.\n\n**NOTE:** If the **`v`** parameter is on or after `20220615`, the request body must be an array, as to allow multiple field creates per request.\n\nThe Custom Fields API will be deprecated in Spring '24. See [here](https://hitchhikers.yext.com/releases/spring23/?target=announcement---custom-fields-api-deprecation) for more details.\n"
},
{
"info": {
"name": "Custom Fields: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/customfields/:customFieldId",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "customFieldId",
"value": "",
"type": "path",
"description": "ID that should be used when referencing the field in API calls. This ID will also serve as the Custom Field's key in our upcoming Entities API endpoints.\nNote that the Custom Fields can still be accessed using their numeric **`id`** by invoking the endpoints with a **`v`** param before `20180809`.\n"
}
]
},
"docs": "Gets a specific Custom Field in an Account.\n\nThe Custom Fields API will be deprecated in Spring '24. See [here](https://hitchhikers.yext.com/releases/spring23/?target=announcement---custom-fields-api-deprecation) for more details.\n"
},
{
"info": {
"name": "Custom Fields: Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/customfields/:customFieldId",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "customFieldId",
"value": "",
"type": "path",
"description": "ID that should be used when referencing the field in API calls. This ID will also serve as the Custom Field's key in our upcoming Entities API endpoints.\nNote that the Custom Fields can still be accessed using their numeric **`id`** by invoking the endpoints with a **`v`** param before `20180809`.\n"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates a single Custom Field in an Account.\n\nNote that the only updatable values in an existing Custom Field are its name, group, description, alternate language behavior, as well as available options if its `type` is `SINGLE_OPTION` or `MULTI_OPTION`.\n* If options are modified, every location with that option selected will have the new value.\n* If options are deleted, all locations with that option will no longer have that option selected.\n* If the deleted options are the only options selected"
},
{
"info": {
"name": "Custom Fields: Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/customfields/:customFieldId",
"params": [
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "customFieldId",
"value": "",
"type": "path",
"description": "ID that should be used when referencing the field in API calls. This ID will also serve as the Custom Field's key in our upcoming Entities API endpoints.\nNote that the Custom Fields can still be accessed using their numeric **`id`** by invoking the endpoints with a **`v`** param before `20180809`.\n"
}
]
},
"docs": "Deletes a Custom Field in an Account.\n\nThe Custom Field will be removed from all locations, and all content entered in the Custom Field will be deleted permanently.\n\nThe Custom Fields API will be deprecated in Spring '24. See [here](https://hitchhikers.yext.com/releases/spring23/?target=announcement---custom-fields-api-deprecation) for more details.\n"
},
{
"info": {
"name": "Language Profiles (Legacy): List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId/profiles",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "resolvePlaceholders",
"value": "",
"type": "query",
"description": "Optional parameter to resolve all embedded fields in a Location object response.\n- `false`: Location object returns placeholder labels, e.g., \"Your [[CITY]] store\"\n- `true`: Location object returns placeholder values, e.g., \"Your Fairfax store\"\n"
}
]
},
"docs": "Get Language Profiles for a Location."
},
{
"info": {
"name": "Language Profiles (Legacy): Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId/profiles/:language_code",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "language_code",
"value": "",
"type": "path",
"description": "Locale code."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "resolvePlaceholders",
"value": "",
"type": "query",
"description": "Optional parameter to resolve all embedded fields in a Location object response.\n- `false`: Location object returns placeholder labels, e.g., \"Your [[CITY]] store\"\n- `true`: Location object returns placeholder values, e.g., \"Your Fairfax store\"\n"
}
]
},
"docs": "Gets the the requested Language Profile for a given Location."
},
{
"info": {
"name": "Language Profiles (Legacy): Upsert",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId/profiles/:language_code",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "language_code",
"value": "",
"type": "path",
"description": "Locale code."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "primary",
"value": "",
"type": "query",
"description": "When present and set to true, the specified profile will become the location’s primary Language Profile."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates and / or sets the fields for a Language Profile\n\n**NOTE:** You can change a Language Profile’s language by supplying a different (but unused) language code.\n"
},
{
"info": {
"name": "Language Profiles (Legacy): Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/locations/:locationId/profiles/:language_code",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "locationId",
"value": "",
"type": "path"
},
{
"name": "language_code",
"value": "",
"type": "path",
"description": "Locale code."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Remove a Language Profile from a location."
},
{
"info": {
"name": "Assets: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/assets",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "\nNumber of results to skip. Used to page through results.\nCannot be used together with **`pageToken`**.\n"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return."
},
{
"name": "pageToken",
"value": "",
"type": "query",
"description": "If a response to a previous request contained the **`pageToken`** field, pass that field's value as the **`pageToken`** parameter to retrieve the next page of data."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "Present if and only if type of subfield is \"**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
}
]
},
"docs": "List assets in an account."
},
{
"info": {
"name": "Assets: Create",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/assets",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting langauge used to parse rich text field values.\nPresent if and only if type of field is \"**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a new asset in an account.\n\n**NOTE:**\n* If the **`v`** parameter is on or before `20190624`: only the first folder the Asset is available for will be returned in the legacy **`folderId`** field.\n* If the **`v`** parameter is after `20190624`: the complete list of folders the Asset is available to will be returned in the new **`folderIds`** field. **`folderId`** will not be returned.\n"
},
{
"info": {
"name": "Assets: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/assets/:assetId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "assetId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "Present if and only if type of subfield is \"**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
}
]
},
"docs": "Get a specific asset."
},
{
"info": {
"name": "Assets: Update",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/assets/:assetId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "assetId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting langauge used to parse rich text field values.\nPresent if and only if type of field is \"**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update a specific asset.\n\n**NOTE**: This endpoint is a true PUT. Fields that are not provided in an update will be cleared. The entire Asset object must be provided in the request, except for its **`id`**, which is given in the path.\n\n**NOTE:**\n* If the **`v`** parameter is on or before `20190624`: only the first folder the Asset is available for will be returned in the legacy **`folderId`** field.\n* If the **`v`** parameter is after `20190624`: the complete list of folders the Asset is availabl"
},
{
"info": {
"name": "Assets: Delete",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.yextapis.com/v2/accounts/:accountId/assets/:assetId",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "assetId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Delete a specific asset."
},
{
"info": {
"name": "Suggestions: List",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting language used to parse rich text field values. Present if and only if the field is of type “**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
},
{
"name": "entityIds",
"value": "",
"type": "query",
"description": "Comma-separated list of entity IDs to pull suggestions for. Defaults to all entities in the account if unspecified.\n"
},
{
"name": "entityUids",
"value": "",
"type": "query",
"description": "Comma-separated list of entity UIDs (formerly known as Yext IDs) to pull suggestions for. Defaults to all entities in the account if unspecified.\n"
},
{
"name": "statuses",
"value": "",
"type": "query",
"description": "Comma-separated list of statuses of suggestions to pull. Defaults to all, but can be any of APPROVED, REJECTED, PENDING, CANCELED.\n"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Number of results to return. Default to 10, can go up to 50."
},
{
"name": "pageToken",
"value": "",
"type": "query",
"description": "If a response to a previous request contained the **`nextPageToken`** field, pass that field's value as the **`pageToken`** parameter to retrieve the next page of data.\n"
},
{
"name": "sortBy",
"value": "",
"type": "query",
"description": "Field and sort direction to order results by. The ordering should be a list with one element in the format of **`{\"field_name\": \"sort_direction\"}`**, where **`sort_direction`** is either \"ascending\" or \"descending\".\n\nThis param value needs to be URL encoded.\n\nThe following fields are supported for sorting:\n * uid\n * lastUpdatedDate\n"
}
]
},
"docs": "Retrieve a list of Suggestions within an account\n\n**NOTE:**\n * App must have either **Create Suggestions: Read** permission or **Manage Suggestions: Read** permission to utilize endpoint.\n * If App only has **Create Suggestions: Read** permission, only Suggestions created by the App in question will be returned.\n * Suggestions on ECLs are not supported.\n * Suggestions to the Categories field are only returned if they are for the Base Category List for your account. This means Suggestions on "
},
{
"info": {
"name": "Suggestion: Upsert",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting language used to parse rich text field values. Present if and only if the field is of type “**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Create or update a suggestion via API.\n\n**NOTE:**\n * App must have **Create Suggestions: Read/Write** permission to utilize endpoint.\n * If a suggestion already exists from your app on the specified field, the suggestion will be updated.\n * Suggestions on ECLs are not currently supported.\n"
},
{
"info": {
"name": "Suggestion: Cancel",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions/cancel/:suggestionUid",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "suggestionUid",
"value": "",
"type": "path",
"description": "The Yext-generated unique identifier for the Suggestion."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
]
},
"docs": "Cancel a suggestion which was submitted by the App.\n\n**NOTE:**\n * App must have **Create Suggestions: Read/Write** permission to utilize endpoint.\n * Suggestions can only be canceled by the submitter.\n"
},
{
"info": {
"name": "Suggestion: Get",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions/:suggestionUid",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "suggestionUid",
"value": "",
"type": "path",
"description": "The Yext-generated unique identifier for the Suggestion."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting language used to parse rich text field values. Present if and only if the field is of type “**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
}
]
},
"docs": "Retrieve information for a Suggestion with a given ID\n\n**NOTE:**\n * App must have either **Create Suggestions: Read** permission or **Manage Suggestions: Read** permission to utilize endpoint.\n * If App only has **Create Suggestions: Read** permission, only Suggestions created by the App in question will be returned.\n * Suggestions on ECLs are not supported.\n * Suggestions to the Categories field are only returned if they are for the Base Category List for your account. This means Suggestion"
},
{
"info": {
"name": "Suggestion: Comment",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions/comment/:suggestionUid",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "suggestionUid",
"value": "",
"type": "path",
"description": "The Yext-generated unique identifier for the Suggestion."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Add a comment to a suggestion.\n\n**NOTE:**\n * App must have **Manage Suggestions: Read/Write** permission to utilize endpoint.\n"
},
{
"info": {
"name": "Suggestion: Action",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.yextapis.com/v2/accounts/:accountId/suggestions/action/:suggestionUid",
"params": [
{
"name": "accountId",
"value": "",
"type": "path"
},
{
"name": "suggestionUid",
"value": "",
"type": "path",
"description": "The Yext-generated unique identifier for the Suggestion."
},
{
"name": "v",
"value": "",
"type": "query",
"description": "A date in `YYYYMMDD` format."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The formatting language used to parse rich text field values. Present if and only if the field is of type “**Rich Text**.\"\n\nValid values:\n * `markdown`\n * `html`\n * `none`\n"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Perform an action on the Suggestion with the given ID.\n\nThis endpoint allows apps to lock, unlock, reassign, modify the status (approve or reject), and update the content of suggestions. The source of the update will be the Yext App ID of the app making the request.\n\n**NOTE:**\n * App must have **Manage Suggestions: Read/Write** permission to utilize endpoint.\n * Only one of **`locked`**, **`assignee`**, **`status`**, or **`entityFieldSuggestion`** can be provided in the request.\n"
}
]
}
],
"bundled": true
}