Skip to main content

ShopifyCollection

interface ShopifyCollection {
    id: string
    handle: string
    title: string
    description: string
    descriptionHtml: string
    image: ShopifyImage | null
    updatedAt: string
    onlineStoreUrl: string | null
    seo: ShopifySeo
}

CollectionsResult

Response from shoppy.collections.list()
interface CollectionsResult {
    items: ShopifyCollection[]
    pageInfo: ShopifyPageInfo
}

CollectionField

Available fields for .select() on collections.
type CollectionField =
    | 'id'
    | 'handle'
    | 'title'
    | 'description'
    | 'descriptionHtml'
    | 'image'
    | 'updatedAt'
    | 'onlineStoreUrl'
    | 'seo'