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
JSONCustom JSON for the product in cart. Example: { personalization: true }
action
ProductActionSchema of Action Object to render the product.
attributes
JSONProduct attributes defined on platform. Example: { material: 'Cotton' }
brand
BaseInfoBasic 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.
images
[ProductImage]Product images in different formats. Example: [{ secure_url: 'https://cdn.example.com/img.jpg' }]
item_code
StringProduct code defined on platform. Example: 'SKU123'
name
StringProduct name defined on platform. Example: 'Cotton T-Shirt'
slug
StringUnique product URL slug. Example: 'cotton-tshirt'
tags
[String]Product tags used for identification. Example: ['new', 'bestseller']
type
StringType of product in cart. Example: 'standard'
uid
IntUnique identifier of the product in cart. Example: 123456
teaser_tag
TagsContains 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
Was this section helpful?