object

CartProduct

Cart product data structure which includes product data as action, attributes, brand, categoreis,, images, item code, tags, item id, item name, etc.
Fields
_custom_json
JSON
Custom JSON for the product in cart. Example: { personalization: true }
Schema of Action Object to render the product.
attributes
JSON
Product attributes defined on platform. Example: { material: 'Cotton' }
Basic information which provides basic info like uid of any entity like brand or seller and name of the entity.
categories
[CategoryInfo]
Product category information which includes category name and category id.
Product images in different formats. Example: [{ secure_url: 'https://cdn.example.com/img.jpg' }]
item_code
String
Product code defined on platform. Example: 'SKU123'
name
String
Product name defined on platform. Example: 'Cotton T-Shirt'
slug
String
Unique product URL slug. Example: 'cotton-tshirt'
Product tags used for identification. Example: ['new', 'bestseller']
type
String
Type of product in cart. Example: 'standard'
uid
Int
Unique identifier of the product in cart. Example: 123456
teaser_tag
Tags
Contains labels attached to a product in cart. Example: { tags: ['teaser'] }
custom_fields
[CustomField]
Additional custom attributes associated with the cart product for extended product information and metadata