Represents a product with the SKU details and the corresponding quantity.

ProductQuantity

interface ProductQuantity {
    attributes?: ProductAttribute[];
    expiration?: string;
    prepDetails?: PrepDetails;
    quantity: number;
    sku: string;
}

Properties

attributes?: ProductAttribute[]

Attributes for this instance of the product. For example, already-prepped, or other attributes that distinguish the product beyond the SKU.

ProductQuantity

expiration?: string

The expiration date for the SKU. Values are in ISO 8601 date-time format.

ProductQuantity

prepDetails?: PrepDetails

ProductQuantity

quantity: number

Product quantity.

ProductQuantity

sku: string

The seller or merchant SKU.

ProductQuantity