CampaignTile
Type: object
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
id optional | string | number | |||||||
blockId optional | string | number | |||||||
content optional | null | string | { [key]: any } | An object, or a JSON string of one. Fields
| ||||||
link optional | string | |||||||
url optional | string | |||||||
sizes optional | CampaignTileSize[] |
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.