PlutocracyMercury developer docs

CampaignTile

Type: object

FieldTypeDescription
id optionalstring | number
blockId optionalstring | number
content optionalnull | string | { [key]: any }

An object, or a JSON string of one.

Fields
FieldTypeDescription
[key: string]any

Any further keys.

link optionalstring
url optionalstring
sizes optionalCampaignTileSize[]
Example (illustrative)
{
  "id": 7712345678901,
  "blockId": 7712345678901,
  "content": {
    "key": null
  },
  "link": "string",
  "url": "https://cdn.shopify.com/s/files/1/0000/0001/files/linen-shirt.jpg",
  "sizes": [
    {
      "viewportIndex": 1,
      "breakpoint": 1,
      "minwidth": 1,
      "index": 1,
      "colSpan": 1,
      "rowSpan": 1,
      "colRow": 1
    }
  ]
}

Used by

Declared in api-types/src/kit-contract/v1/search-api.ts.