@wocart/storefront / index / LandingPage
Interface: LandingPage
A published landing page — GET /store/landing-pages/{slug}.
The ordered image stack, spacing, and the linked product in full store-product shape so the order form works unmodified. Draft/archived/unknown slugs resolve to null — the theme redirects to the store home, never a dead end.
Properties
document
document:
object
The page's own composition for the client's theme (its lp:<id>
document), or null when it has none or the client names no theme: the
theme then renders its landing default.
Index Signature
[key: string]: unknown
sections
sections:
unknown[]
surface
surface:
string
version
version:
number
id
id:
string
imageGap
imageGap:
number
Pixels between stacked images.
images
images:
LandingPageImage[]
The image stack, ordered by position (1 = top).
metaDescription
metaDescription:
string
metaTitle
metaTitle:
string
name
name:
string
product
product:
object
Null when the product is no longer publicly visible.
category?
optionalcategory?:object
category.createdAt
createdAt:
string
category.description?
optionaldescription?:string
category.id
id:
string
category.image?
optionalimage?:object
category.image.height?
optionalheight?:number
category.image.key
key:
string
category.image.url
url:
string
category.image.width?
optionalwidth?:number
category.metaDescription?
optionalmetaDescription?:string
category.metaKeywords?
optionalmetaKeywords?:string
category.metaTitle?
optionalmetaTitle?:string
category.name
name:
string
category.parentId?
optionalparentId?:string
category.position
position:
number
category.slug
slug:
string
category.updatedAt
updatedAt:
string
categoryId?
optionalcategoryId?:string
compareAtPrice?
optionalcompareAtPrice?:number
currency
currency:
string
description?
optionaldescription?:string
descriptionFormat
descriptionFormat:
"html"|"text"
descriptionPlain?
optionaldescriptionPlain?:string
handle
handle:
string
hasVariants
hasVariants:
boolean
id
id:
string
images
images:
object[]
inventory
inventory:
number
lowStockThreshold
lowStockThreshold:
number
metaDescription?
optionalmetaDescription?:string
metaTitle?
optionalmetaTitle?:string
name
name:
string
offers
offers:
object[]
price
price:
number
quantityPricing?
optionalquantityPricing?:object
quantityPricing.name
name:
string
quantityPricing.offerId
offerId:
string
quantityPricing.tiers
tiers:
object[]
quantityPricing.triggerVariantId?
optionaltriggerVariantId?:string
reviewStats?
optionalreviewStats?:object
reviewStats.avgRating
avgRating:
number
reviewStats.reviewCount
reviewCount:
number
sku?
optionalsku?:string
tags
tags:
string[]
trackInventory
trackInventory:
boolean
type
type:
"DIGITAL"|"PHYSICAL"
variantOptions?
optionalvariantOptions?:object[]
variants
variants:
object[]
publishedAt
publishedAt:
string
slug
slug:
string
status
status:
"draft"|"published"|"archived"
tracking
tracking:
object
Which Meta pixel THIS page loads and fires at, already resolved server-side — the browser never works this out for itself, so it cannot disagree with the Conversions API mirror.
conversionEvent
conversionEvent:
"Purchase"|"Purchase_Confirmed"|"Purchase_Delivered"|"Lead"
pixelId
pixelId:
string