RenderedBadge
Badge entry under meta.badges.
Type: object
| Field | Type | Description |
|---|---|---|
content | string | |
background | string | |
colour | string | |
positiony | "top" | "centery" | "bottom" | |
positionx | "left" | "centerx" | "right" | |
classes | string | |
type | "manual" | "automatic" |
Example (illustrative)
{
"content": "string",
"background": "#1f6feb",
"colour": "#1f6feb",
"positiony": "top",
"positionx": "left",
"classes": "string",
"type": "manual"
}Used by
- GET
/search/collection/{handle} - GET
/search/product/{handles} - GET
/search/query/{term} - GET
/zone/query - POST
/zone/query - GET
/zone/query/{id} - POST
/zone/query/{id}
Declared in api-types/src/models/product.ts.