⚠️ This endpoint is deprecated as these business rules are managed in the Wair customer portal.
GENERAL INFORMATION
Use this endpoint to create excluded collections. Which means exclude collections from the recommendations. Direct link to Swagger documentation:
https://public-api-dev.wair.cloud/swagger/index.html#/Settings/post_api_v1_ExcludedCollections
REQUEST
Authentication
Bearer token, information on page POST /Token
Headers
Name | Description | Example |
|---|---|---|
X-Tenant | Tenant code supplied by Wair | “TENANT” |
QueryParameters:
Name | Description | Example |
|---|---|---|
fullLoad | See documentation: Integration core principles | true |
Body example:
{
"excludedCollections": [
{
"excludedCollectionId": "guid01",
"collectionId": "guid01",
"seasonId": "guid01"
}
]
}Additional information:
exludedCollectionId = unique identifier of this action (also needed in case of deleting this exclusion).
collectionId = id of collection you want to exclude.
seasonId = id of season assigned to the collection you want to exclude.
RESPONSE
StatusCodes:
200 = OK.
401 = Unauthorized, which means an expired/missing/invalid token.
400 = Bad request, see body of the response to check which validation errors have occured.
500 = System error, see body of the response to check which error has occured or contact integration support.
Body Example:
No body in the response.