coco-react-native-sdk
    Preparing search index...

    Interface QuantityProduct

    Represents a Product with a quantity.

    interface QuantityProduct {
        category?: string | null;
        color?: string | null;
        customProperties?: [string: string | number];
        image: string;
        price: number;
        productId: string;
        quantity: number;
        regularPrice: number;
        reviews?: ProductReviews | null;
        size?: string | null;
        sku: string;
        stock?: number | null;
        subCategory?: string | null;
        title: string;
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category?: string | null

    The broad category containing this item.

    color?: string | null

    The color of the SKU item. (optional)

    customProperties?: [string: string | number]

    Named (keys) custom properties (values with a valid string representation) to be stored and reported to Granify with the product. This is useful for adding additional properties that may be domain-specific to your site and do not fit into any of the existing properties available on this class.

    image: string

    The address of the product image.

    price: number

    The current unit price of the product (after discount or sale pricing).

    productId: string

    The parent ID of the product.

    quantity: number

    The number of units.

    regularPrice: number

    The regular price of the product before sales or discounts.

    reviews?: ProductReviews | null

    The review and rating information for the product.

    size?: string | null

    The size of the SKU item. (optional)

    sku: string

    The specific SKU of the product/variant.

    stock?: number | null

    The stock information for the product.

    subCategory?: string | null

    Further categorical identification of item. (optional)

    title: string

    The name or title of the product.

    url: string

    Deep link to app location.