Skip to main content

ShopifyPage

interface ShopifyPage {
    id: string
    handle: string
    title: string
    body: string
    bodySummary: string
    createdAt: string
    updatedAt: string
    onlineStoreUrl: string | null
    seo: ShopifySeo
}

PagesResult

Response from shoppy.pages.list()
interface PagesResult {
    items: ShopifyPage[]
    pageInfo: ShopifyPageInfo
}

PageField

Available fields for .select() on pages.
type PageField =
    | 'id'
    | 'handle'
    | 'title'
    | 'body'
    | 'bodySummary'
    | 'createdAt'
    | 'updatedAt'
    | 'onlineStoreUrl'
    | 'seo'