GENERAL INFORMATION
Purpose
This endpoint is used for sharing product theme information.
How the data is used
The theme information is shown throughout the customer portal so users are quick to identify the theme of the products in the overview:
.png?sv=2026-02-06&spr=https&st=2026-06-08T06%3A47%3A59Z&se=2026-06-08T06%3A59%3A59Z&sr=c&sp=r&sig=x8W%2FJl4yAQkKInHbUAbKoPRSzIFOuYAfQpjfjOPPrF8%3D)
This enables users to gain insights into the products associated with that theme so they are able to make decisions and/or create (automated) actions in the customer portal based on the theme information. This makes it a highly recommended dataset to share.
Best practices
Make sure to update the theme on a regular basis, recommended minimum once a day, to ensure the theme information is complete and in-line with the themes assigned to the items in
POST /ItemsEnsure that the id you are using in this endpoint aligns with the themeId you are assigning to the items in the
POST /Itemsendpoint.For the description use a clear, short description of the theme, for example “Back to School” or “Holiday Collection”.
Common pitfalls
Do not generate a random id for the themeId field in the integration; only use system-generated IDs that are fixed in the source system, as you need the same ID to also be able to update the theme information.
A common pitfall is to send a system-generated value like a UUID in the code field, which can make it unclear for users in our customer portal to see which theme they are looking at.
Example use cases
As a merchandiser I want to give a push to the replenishment of all the T-Shirts in the Festival theme.
As a merchandiser I want to redistribute all the Back to School Shorts.
TECHNICAL INFORMATION
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:
{
"themes": [
{
"themeId": "595b232e-abd8-4bcb-8a2d-e9f907a73015",
"code": "B2S",
"description": "Back to School"
}
]
}Additional information:
Fieldname | Context | Mandatory | Type / max characters |
|---|---|---|---|
themeId | Unique identifier for this theme, needs to be unique across all theme. If you want to update a theme, send the theme again using this id. | Yes | string / 80 characters |
code | A business key of the season, often user defined/recognizable. | Yes | string / 60 characters max |
description | The name of the theme | No, but highly preferred | string / 255 characters max |
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