Badge
A merchandising badge as the server sends it. Positions use "centery"/"centerx" for centred.
Type: object
| Field | Type | Description |
|---|---|---|
content | string | |
background | string | |
colour | string | |
positiony | string | |
positionx | string | |
classes optional | string | CSS classes for the badge. |
type optional | string |
Example (illustrative)
{
"content": "string",
"background": "#1f6feb",
"colour": "#1f6feb",
"positiony": "string",
"positionx": "string",
"classes": "string",
"type": "Shirts"
}Used by
Declared in api-types/src/kit-contract/v1/search-api.ts.