Products Array

This describes the common items model used in various events

/* PRODUCTS ARRAY */
[
    {
        item_id: '<mandatory - item_id>',
        item_name: '<mandatory - name of item>',
        item_sku: '<mandatory - style id of item>',
        variant_id: '<optional - variant_id>',
        index: 0, // order of item in array 0,1,2,3...
        price: 123.33, // mandatory - float price - DO NOT MULTIPLY with quantity.
        quantity: 2, // quantity of item
        item_brand: '<optional - brand>', // if not available leave undefined
        item_category: '<optional - category>', // if not available leave undefined
        options: {
             // optional - options can be used to provide any additional product attributes
        }
    }
]

Last updated