Lists all cross sell categories (based on params provided)
Authorizations
AuthorizationstringRequired
For accessing the API a valid JWT must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
Query parameters
pageTokenstringOptional
Page token used for pagination. Send this value in subsequent requests.
pageSizestring · int64OptionalDefault:
The number of cross sell categories you are requesting per page.
20catalogIdstringOptional
Used to filter by a specific catalog.
categorystringOptional
Used to filter by a specific category.
Responses
200
A list of cross sell categories and a pagination token.
application/json
nextPageTokenstringOptional
The page token for requesting the next page of the pagination. Should be used as "pageToken" in the request
totalCountstring · int64Optional
The total number of cross sell categories that match provided criteria.
400
There was a problem with input.
application/json
401
Login failed or token not valid.
application/json
403
Login failed or token not valid.
application/json
default
An unexpected error response.
application/json
get/v2/cross-sell-categories
GET /v2/cross-sell-categories HTTP/1.1
Host: catalog.citrusad.com
Authorization: YOUR_API_KEY
Accept: */*
{
"crossSellCategories": [
{
"catalogId": "text",
"category": "text",
"crossSellCategory": "text",
"id": "text"
}
],
"nextPageToken": "text",
"totalCount": "text"
}
