Skip to main content

Cart

v1

Description

Get notified when your customers add items to their cart or when they update their existing cart.


Supported Type

  • Create
  • Update

Payload

{
"event":{
"id":"phui82Ec0mGGW9Z0Q5Vk7706A2pjy3E3o4tI/2AXdvU=",
"name":"cart",
"type":"create",
"version":"1",
"trace_id":[
"megatron.8c377b84-d60d-4444-9192-af7a2cd8f987"
],
"created_timestamp":1628579770584
},
"payload":{
"cart":{
"id":"None",
"uid":"27478463",
"gstin":null,
"items":[
{
"key":"856253_9",
"moq":{
"minimum":1
},
"price":{
"base":{
"add_on":539,
"marked":1599,
"selling":539,
"effective":539,
"currency_code":"INR",
"currency_symbol":"₹"
},
"converted":{
"add_on":539,
"marked":1599,
"selling":539,
"effective":539,
"currency_code":"INR",
"currency_symbol":"₹"
}
},
"is_set":false,
"article":{
"uid":"5f60a23ae83c340001788769",
"size":"9",
"type":"article",
"price":{
"base":{
"marked":1599,
"effective":539,
"currency_code":"INR",
"currency_symbol":"₹"
},
"converted":{
"marked":1599,
"effective":539,
"currency_code":"INR",
"currency_symbol":"INR"
}
},
"store":{
"uid":11435,
"name":"Lujo Trends Private Limited"
},
"seller":{
"uid":1210,
"name":"Lujo Trends Private Limited"
},
"quantity":6,
"extra_meta":{

}
},
"message":"",
"product":{
"uid":856253,
"name":"Hirolas Sports running Shoes - Grey",
"slug":"hirolas-grey-sports-shoes-856253-bd2849",
"type":"product",
"brand":{
"uid":451,
"name":"Hirolas"
},
"images":[
{
"url":"https://hdn-1.fynd.com/products/pictures/item/free/original/HRL1929GRO-9/Sm8uQk1sgU5-HRL1929GRO_1.jpg",
"secure_url":"https://hdn-1.fynd.com/products/pictures/item/free/original/HRL1929GRO-9/Sm8uQk1sgU5-HRL1929GRO_1.jpg",
"aspect_ratio":"16:25"
}
],
"item_code":"HRL1929GRO",
"attributes":{
"color":"Grey",
"gender":[
"Men"
],
"season":"AW20",
"material":"Mesh",
"occasion":"Casual",
"toe_type":"Round Toe",
"arch_type":"Medium",
"essential":"Yes",
"brand_name":"Hirolas",
"closure_type":"Lace-Up",
"net-quantity":"1 N",
"marketer-name":"Lujo Trends Pvt. Ltd.",
"primary_color":"Grey",
"sole-material":"EVA",
"inner_material":"Fabric",
"marketer-address":"F-116, Ground Floor, Sector 8,Gautam Buddh Nagar, Noida, 201301",
"package_contents":"1 Pair Shoe",
"primary_material":"Mesh",
"primary_color_hex":"808080"
},
"categories":[
{
"uid":160,
"name":"Running Shoes"
}
],
"_custom_json":{

}
},
"discount":"66% OFF",
"quantity":1,
"bulk_offer":{

},
"identifiers":{
"identifier":"7CKIFWxgTKSPc3Jr2ZPwEQ"
},
"availability":{
"sizes":[
"9",
"10",
"8",
"6",
"7"
],
"is_valid":true,
"deliverable":true,
"out_of_stock":false,
"available_sizes":[
{
"value":"9",
"display":"9",
"is_available":true
},
{
"value":"10",
"display":"10",
"is_available":true
},
{
"value":"8",
"display":"8",
"is_available":true
},
{
"value":"6",
"display":"6",
"is_available":true
},
{
"value":"7",
"display":"7",
"is_available":true
}
],
"other_store_quantity":5
},
"coupon_message":"",
"price_per_unit":{
"base":{
"marked":1599,
"effective":539,
"currency_code":"INR",
"currency_symbol":"₹"
},
"converted":{
"marked":1599,
"effective":539,
"currency_code":"INR",
"currency_symbol":"₹"
}
},
"delivery_promise":null
}
],
"cart_id":27478463,
"comment":"",
"message":"",
"currency":{
"code":"INR",
"symbol":"₹"
},
"is_valid":true,
"last_modified":"Tue, 10 Aug 2021 07:16:10 GMT",
"breakup_values":{
"raw":{
"vog":513.33,
"total":688,
"coupon":0,
"discount":-1060,
"subtotal":539,
"fynd_cash":0,
"mrp_total":1599,
"you_saved":0,
"cod_charge":0,
"gst_charges":25.67,
"convenience_fee":0,
"delivery_charge":149
},
"coupon":{
"uid":null,
"code":"",
"type":"cash",
"value":0,
"message":"Sorry! Invalid coupon",
"is_applied":false
},
"display":[
{
"key":"mrp_total",
"attr":"mrp_total",
"value":1599,
"display":"MRP Total",
"message":[

],
"original":1599,
"currency_code":"INR",
"currency_symbol":"₹"
},
{
"key":"discount",
"attr":"discount",
"value":-1060,
"display":"Discount",
"message":[

],
"original":-1060,
"currency_code":"INR",
"currency_symbol":"₹"
},
{
"key":"subtotal",
"attr":"subtotal",
"value":539,
"display":"Subtotal",
"message":[

],
"original":539,
"currency_code":"INR",
"currency_symbol":"₹"
},
{
"key":"delivery_charge",
"attr":"delivery_charge",
"value":149,
"display":"Delivery Charge",
"message":[
"Delivery charges applicable ₹149.00 on order upto ₹1,999.00",
"Free delivery on order above ₹1,999.00"
],
"original":149,
"currency_code":"INR",
"currency_symbol":"₹"
},
{
"key":"total",
"attr":"total",
"value":688,
"display":"Total",
"message":[

],
"original":688,
"currency_code":"INR",
"currency_symbol":"₹"
}
],
"loyalty_points":{
"total":2000,
"applicable":107,
"is_applied":false,
"description":"Your cashback, reward points, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
}
}
}
},
"contains":[
"cart"
],
"company_id":884,
"application_id":"000000000000000000000001"
}

Object Properties

KeyTypeDescription
idstringUnique ID, Auto Generated
uidstringUnique ID, Auto Generated
sizestringSize of the product
brandjsonID of the brand ID
pricejsonPrice Details: MRP, Selling Price, Currency
storejsonStore Details: ID
is_setbooleanProduct is Set or Non-Set
weightjsonWeight of the product in grams
companyjsonCompany Details: ID
item_idintergerUnique Product ID
date_metajsonInventory modification details: Datetime
dimensionjsonLength, Breadth and Height of the product in cm
is_activebooleanInventory is active or not for selling
quantitiesjsonQuantity Details: Available to sell: Sellable, Live Orders: order_commited, Damaged: present damage quantity in store, Not Available: No quantity is available to sold
_custom_jsonjson
manufacturerjsonManufacturer Details: Name & Address
return_configjsonProduct returnable details: Time, Units, Returnable or Not
fynd_item_codestringProduct Code, Supplied by Seller
tax_identifierjsonHSN Code
total_quantityintergerQuantity Presnet in store, Sellable + Damage + Order Commited
track_inventorybooleanChoose whether to reduce inventory on order placement
country_of_originstringManufacturing Country
seller_identifierPrimary Identifier used to accept inventory through multiple sources