ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface ShopifyProductNode

    Represents a product node from the Shopify GraphQL Storefront API. Contains core product information and nested variant data.

    const product: ShopifyProductNode = {
    id: "gid://shopify/Product/6047654445205",
    title: "Gold Testing Kit",
    handle: "gold-test-kit",
    description: "Professional gold testing kit",
    onlineStoreUrl: "https://www.example.com/products/gold-test-kit",
    variants: {
    edges: [{ node: { title: "Default Title", sku: "GTK-001", ... } }]
    }
    };
    interface ShopifyProductNode {
        id: string;
        title: string;
        handle: string;
        description: string;
        onlineStoreUrl: string;
        variants: { edges: { node: ShopifyVariantNode }[] };
    }
    Index

    Properties

    id: string

    Shopify global ID (e.g. "gid://shopify/Product/6047654445205")

    title: string

    Display title of the product

    handle: string

    URL-friendly slug for the product

    description: string

    Full product description text

    onlineStoreUrl: string

    Full URL to the product on the online store

    variants: { edges: { node: ShopifyVariantNode }[] }

    Product variants in Shopify's relay-style edges/node format

    Type declaration