Property | Type | BigCommerce Storefront API Value | Description |
---|---|---|---|
productId | String | BigCommerce’s globally-unique identifier. | |
sku | String | product.selected_or_first_available_variant.sku | The BigCommerce SKU for either the selected product, or for the first available variant on a product page. |
quantity | Number | cartItemsJson[i].quantity | Note: only exposed on Cart pages, via the Cart JSON object. |
variant | String | product.selected_or_first_available_variant.id | BigCommerce’s globally-unique identifier for either the selected product, or for the first available variant on a product page. |
name | String | product.title | The product’s title. |
price | Number | product.price / 100 | The price of the currently selected product or variant. |
brand | String | product.vendor | The product’s vendor name. |
position | Number | N/A (Position is calculated for each product in a collection, carousel, or shopping cart.) | The position of the product in either a Collection or the Cart is calculated. Positioning starts with “1.” |
url | String | product.url | The product’s online URL |
imageUrl | String | product.featured_image | The URL of the feature product image. |
category | String | product.type | The product categorization/type. |