PlutocracyMercury developer docs

RenderedBadge

Badge entry under meta.badges.

Type: object

FieldTypeDescription
contentstring
backgroundstring
colourstring
positiony"top" | "centery" | "bottom"
positionx"left" | "centerx" | "right"
classesstring
type"manual" | "automatic"
Example (illustrative)
{
  "content": "string",
  "background": "#1f6feb",
  "colour": "#1f6feb",
  "positiony": "top",
  "positionx": "left",
  "classes": "string",
  "type": "manual"
}

Used by

Declared in api-types/src/models/product.ts.