Cart

Handles shopping carts, including adding, removing, and updating items, as well as calculating totals.

Cart

Cart provides detailed information about selected items, including their name, quantity, price breakup, applied discounts, and any relevant attributes like size, product image, or tags. It also displays availability status, estimated shipping time, and seller information. This helps customers track their products throughout the order journey;

Operations
GET
/service/application/cart/v1.0/detail
# Get a cart
HEAD
/service/application/cart/v1.0/detail
# Get last modified timestamp of a cart
POST
/service/application/cart/v1.0/detail
# Add items to a cart
PUT
/service/application/cart/v1.0/detail
# Update cart items
PATCH
/service/application/cart/v1.0/detail
# Update store credits into cart and their items
PUT
/service/application/cart/v1.0/cart_archive
# Delete a cart
GET
/service/application/cart/v1.0/basic
# Get a cart items count
PUT
/service/application/cart/v1.0/meta
# Update cart metadata
POST
/service/application/cart/v1.0/share-cart
# Create share cart link
GET
/service/application/cart/v1.0/share-cart/{token}
# List shared cart items
POST
/service/application/cart/v1.0/share-cart/{token}/{action}
# Update with shared items
GET

Get a cart

Get details of a cart linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart.
Parameters
id
string
The unique identifier of the cart.
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
c
boolean
Select `true` to retrieve the cod charges in breakup of cart items.
assign_card_id
integer
Token of user's debit or credit card.
area_code
string
Customer servicable area_code.
buy_now
boolean
Select `true` to set/initialize buy now cart.
order_type
string
The order type of shipment HomeDelivery - If the customer wants the order home-delivered PickAtStore - If the customer wants the handover of an order at the store itself.
Enum
Response
200
Success. Returns a Cart object. Check the example shown below or refer `CartDetailResult` for more details.
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
id:
"value"
i:
false
b:
false
c:
false
assign_card_id:
1
area_code:
"value"
buy_now:
false
order_type:
"value"
GET
/service/application/cart/v1.0/detail
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/detail"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "applied_promo_details": [
3 {
4 "application_id": "000000000000000000000001",
5 "apply_all_offers": false,
6 "apply_exclusive": null,
7 "buy_article_dict": {
8 "rule#1": {
9 "633527e850dfb8e73e6de996_0": {
10 "added_in_cart": false,
11 "added_quantity": 0,
12 "amount_paid": 0,
13 "applicable_credits": {
14 "conversion_rate": 1,
15 "currency_code": "INR",
16 "currency_symbol": "₹",
17 "floor_source_value": 0,
18 "floor_value": 0,
19 "source_currency_code": "FC",
20 "source_currency_symbol": "",
21 "source_value": 0,
22 "value": 0
23 },
24 "article_assign_status": true,
25 "article_assignment": {
26 "level": "multi-companies",
27 "strategy": "optimal"
28 },
29 "article_error": {
30 "type": null,
31 "value": null,
32 "message": null
33 },
34 "article_id": "633527e850dfb8e73e6de996",
35 "article_index": "0",
36 "article_meta": {
37 "article_id": "633527e850dfb8e73e6de996",
38 "bulk_margin": 0,
39 "bulk_discount": {
40 "conversion_rate": 1,
41 "currency_code": "INR",
42 "currency_symbol": "₹",
43 "floor_source_value": 0,
44 "floor_value": 0,
45 "source_currency_code": "INR",
46 "source_currency_symbol": "₹",
47 "source_value": 0,
48 "value": 0
49 },
50 "bulk_coupon_code": null,
51 "country_of_origin": "India",
52 "dimension": {
53 "width": 70,
54 "unit": "cm",
55 "height": 70,
56 "is_default": true,
57 "length": 70
58 },
59 "fragile": false,
60 "manufacturer": {
61 "address": "10, PALI MALA RD, ADARSH NAGAR, BANDRA WEST,, MAHARASHTRA, MUMBAI",
62 "name": "Sabki Shop",
63 "is_default": true
64 },
65 "weight": {
66 "shipping": 250,
67 "unit": "gram",
68 "is_default": true
69 },
70 "raw_meta": {
71 "fynd_identifier": "4187_3412343256098",
72 "is_set_article": false,
73 "set_quantity": 1
74 },
75 "is_set": false,
76 "set": {},
77 "identifier": {
78 "ean": "3412343256098"
79 },
80 "hsn_code": null,
81 "hsn_code_id": "625fbd96faeed8b3df6ec3ce",
82 "raw_price": {
83 "effective": {
84 "conversion_rate": 1,
85 "currency_code": "INR",
86 "currency_symbol": "₹",
87 "floor_source_value": 3899,
88 "floor_value": 3899,
89 "source_currency_code": "INR",
90 "source_currency_symbol": "₹",
91 "source_value": 3899,
92 "value": 3899
93 },
94 "marked": {
95 "conversion_rate": 1,
96 "currency_code": "INR",
97 "currency_symbol": "₹",
98 "floor_source_value": 3899,
99 "floor_value": 3899,
100 "source_currency_code": "INR",
101 "source_currency_symbol": "₹",
102 "source_value": 3899,
103 "value": 3899
104 },
105 "transfer": {
106 "conversion_rate": 1,
107 "currency_code": "INR",
108 "currency_symbol": "₹",
109 "floor_source_value": 0,
110 "floor_value": 0,
111 "source_currency_code": "INR",
112 "source_currency_symbol": "₹",
113 "source_value": 0,
114 "value": 0
115 }
116 },
117 "seller_identifier": "3412343256098",
118 "_custom_json": {},
119 "tags": [],
120 "return_config": {
121 "time": 0,
122 "unit": "days",
123 "returnable": false
124 }
125 },
126 "attributes": {
127 "essential": "No",
128 "item_code": "BSFJ2-12608",
129 "gender": [
130 "Men"
131 ],
132 "denim_type": "Solid",
133 "pattern": "Solid",
134 "product_fit": "Slim",
135 "currency": "INR",
136 "media": [
137 {
138 "type": "image",
139 "meta": {
140 "brand": "nike",
141 "item_code": "BSFJ2-12608",
142 "sequence": 0
143 },
144 "url": "https://hdn-1.addsale.com/addsale/products/pictures/item/free/original/nike/BSFJ2-12608/0/jMpkpyx17w-GWQjymow3-Black-Slim-Fit-Jeans.jpeg"
145 }
146 ],
147 "name": "Nike Jeans 12608",
148 "brand_name": "Nike"
149 },
150 "avl_qty": 97,
151 "brand_id": 18,
152 "bulk_coupon_applied": false,
153 "bulk_coupon_code": null,
154 "bulk_discount": {
155 "conversion_rate": 1,
156 "currency_code": "INR",
157 "currency_symbol": "₹",
158 "floor_source_value": 0,
159 "floor_value": 0,
160 "source_currency_code": "INR",
161 "source_currency_symbol": "₹",
162 "source_value": 0,
163 "value": 0
164 },
165 "bulk_margin": 0,
166 "cancellation_allowed": true,
167 "cashback": {
168 "amount": {
169 "conversion_rate": 1,
170 "currency_code": "INR",
171 "currency_symbol": "₹",
172 "floor_source_value": 0,
173 "floor_value": 0,
174 "source_currency_code": "FC",
175 "source_currency_symbol": "",
176 "source_value": 0,
177 "value": 0
178 }
179 },
180 "category_id": [
181 150
182 ],
183 "cod_charges": {
184 "amount": {
185 "conversion_rate": 1,
186 "currency_code": "INR",
187 "currency_symbol": "₹",
188 "floor_source_value": 0,
189 "floor_value": 0,
190 "source_currency_code": "INR",
191 "source_currency_symbol": "₹",
192 "source_value": 0,
193 "value": 0
194 }
195 },
196 "company_id": 2,
197 "company_info": {
198 "company_id": 2,
199 "c_name": "Sabki Shop",
200 "c_taxes": [
201 {
202 "rate": 15,
203 "enable": true,
204 "effective_date": "2022-06-05T18:29:23.904Z"
205 }
206 ],
207 "company_cin": "U45200MH1992PTC066474"
208 },
209 "company_taxes": [
210 {
211 "rate": 15,
212 "enable": true,
213 "effective_date": "2022-06-05T18:29:23.904Z"
214 }
215 ],
216 "coupon": {
217 "amount": {
218 "conversion_rate": 1,
219 "currency_code": "INR",
220 "currency_symbol": "₹",
221 "floor_source_value": 0,
222 "floor_value": 0,
223 "source_currency_code": "INR",
224 "source_currency_symbol": "₹",
225 "source_value": 0,
226 "value": 0
227 },
228 "article_count": 0,
229 "cancellation_allowed": true,
230 "return_allowed": true
231 },
232 "currency_dict": {
233 "code": "INR",
234 "rate": 1
235 },
236 "custom_meta": {},
237 "data": {},
238 "delivery_charges": {
239 "amount": {
240 "conversion_rate": 1,
241 "currency_code": "INR",
242 "currency_symbol": "₹",
243 "floor_source_value": 0,
244 "floor_value": 0,
245 "source_currency_code": "INR",
246 "source_currency_symbol": "₹",
247 "source_value": 0,
248 "value": 0
249 }
250 },
251 "delivery_error_msg": "",
252 "delivery_promise": {
253 "timestamp": {
254 "min": 1646257339,
255 "max": 1646689339
256 },
257 "formatted": {
258 "min": "03 Mar, Thursday",
259 "max": "08 Mar, Tuesday"
260 }
261 },
262 "departments": [
263 99
264 ],
265 "discount": 0,
266 "discount_applied": {},
267 "dt_currency": "INR",
268 "dt_currency_symbol": "₹",
269 "esp_modified": false,
270 "extra_meta": {},
271 "float_amount_paid": 0,
272 "free_gift_items_meta": {},
273 "group_id": "",
274 "gst_amount": 167.1,
275 "gst_tax_percentage": 5,
276 "hsn_code": null,
277 "hsn_code_id": "625fbd96faeed8b3df6ec3ce",
278 "identifiers": {
279 "identifier": "BDnwAINORr6SlTKxZN3w"
280 },
281 "image_nature": "standard",
282 "include": true,
283 "is_valid": true,
284 "item_id": 75660796,
285 "item_size": "34",
286 "last_update_at": 1680852767,
287 "meta": {},
288 "net_price": {
289 "conversion_rate": 1,
290 "currency_code": "INR",
291 "currency_symbol": "₹",
292 "floor_source_value": 3509.1,
293 "floor_value": 3509.1,
294 "source_currency_code": "INR",
295 "source_currency_symbol": "₹",
296 "source_value": 3509.1,
297 "value": 3509.1
298 },
299 "old_price": {
300 "conversion_rate": 1,
301 "currency_code": "INR",
302 "currency_symbol": "₹",
303 "floor_source_value": 3899,
304 "floor_value": 3899,
305 "source_currency_code": "INR",
306 "source_currency_symbol": "₹",
307 "source_value": 3899,
308 "value": 3899
309 },
310 "original_price_effective": {
311 "conversion_rate": 1,
312 "currency_code": "INR",
313 "currency_symbol": "₹",
314 "floor_source_value": 3899,
315 "floor_value": 3899,
316 "source_currency_code": "INR",
317 "source_currency_symbol": "₹",
318 "source_value": 3899,
319 "value": 3899
320 },
321 "original_unit_price": {
322 "conversion_rate": 1,
323 "currency_code": "INR",
324 "currency_symbol": "₹",
325 "floor_source_value": 3899,
326 "floor_value": 3899,
327 "source_currency_code": "INR",
328 "source_currency_symbol": "₹",
329 "source_value": 3899,
330 "value": 3899
331 },
332 "parent_item_identifiers": {
333 "identifier": null,
334 "parent_item_size": null,
335 "parent_item_id": null
336 },
337 "pickup_stores": [],
338 "price": {
339 "conversion_rate": 1,
340 "currency_code": "INR",
341 "currency_symbol": "₹",
342 "floor_source_value": 3899,
343 "floor_value": 3899,
344 "source_currency_code": "INR",
345 "source_currency_symbol": "₹",
346 "source_value": 3899,
347 "value": 3899
348 },
349 "price_effective": {
350 "conversion_rate": 1,
351 "currency_code": "INR",
352 "currency_symbol": "₹",
353 "floor_source_value": 3899,
354 "floor_value": 3899,
355 "source_currency_code": "INR",
356 "source_currency_symbol": "₹",
357 "source_value": 3899,
358 "value": 3899
359 },
360 "price_marked": {
361 "conversion_rate": 1,
362 "currency_code": "INR",
363 "currency_symbol": "₹",
364 "floor_source_value": 3899,
365 "floor_value": 3899,
366 "source_currency_code": "INR",
367 "source_currency_symbol": "₹",
368 "source_value": 3899,
369 "value": 3899
370 },
371 "product_tags": [],
372 "promotions": {
373 "amount": {
374 "conversion_rate": 1,
375 "currency_code": "INR",
376 "currency_symbol": "₹",
377 "floor_source_value": 0,
378 "floor_value": 0,
379 "source_currency_code": "INR",
380 "source_currency_symbol": "₹",
381 "source_value": 0,
382 "value": 0
383 },
384 "applied": [
385 {
386 "amount": {
387 "conversion_rate": 1,
388 "currency_code": "INR",
389 "currency_symbol": "₹",
390 "floor_source_value": 389.9,
391 "floor_value": 389.9,
392 "source_currency_code": "INR",
393 "source_currency_symbol": "₹",
394 "source_value": 389.9,
395 "value": 389.9
396 },
397 "applied_discounts": [
398 {
399 "type": "percentage",
400 "value": 10
401 }
402 ],
403 "applied_free_articles": [],
404 "apply_exclusive": null,
405 "article_quantity": 1,
406 "buy_rules": [
407 {
408 "all_items": null,
409 "cart_conditions": {},
410 "item_criteria": {
411 "item_brand": [
412 18
413 ]
414 },
415 "mrp_promo": false,
416 "slug": "rule#1"
417 }
418 ],
419 "cancellation_allowed": true,
420 "discount_rules": [
421 {
422 "all_items": null,
423 "buy_condition": "( rule#1 )",
424 "item_criteria": {
425 "buy_rules": [
426 "rule#1"
427 ]
428 },
429 "matched_buy_rules": [
430 "rule#1"
431 ],
432 "offer": {
433 "discount_percentage": 10
434 },
435 "raw_offer": {
436 "item_criteria": {
437 "buy_rules": [
438 "rule#1"
439 ]
440 },
441 "buy_condition": "( rule#1 )",
442 "discount_type": "percentage",
443 "offer": {
444 "discount_percentage": 10
445 }
446 },
447 "type": "percentage"
448 }
449 ],
450 "mrp_promo": false,
451 "offer_text": "10% of on NIKE Jeans",
452 "ownership": {
453 "payable_category": "seller",
454 "payable_by": ""
455 },
456 "payable_category": "seller",
457 "promo_code": null,
458 "promo_id": "642fe329ed159b7aa743a293",
459 "promo_type": "percentage",
460 "promotion_group": "product",
461 "return_allowed": true
462 }
463 ],
464 "apply_exclusive": null,
465 "available": [],
466 "cancellation_allowed": true,
467 "exclusive_promo_applied": false,
468 "mrp_promo_applied": false,
469 "return_allowed": true
470 },
471 "quantity": 1,
472 "quantity_assign_status": false,
473 "referral_credits": {
474 "amount": {
475 "conversion_rate": 1,
476 "currency_code": "INR",
477 "currency_symbol": "₹",
478 "floor_source_value": 0,
479 "floor_value": 0,
480 "source_currency_code": "FC",
481 "source_currency_symbol": "",
482 "source_value": 0,
483 "value": 0
484 }
485 },
486 "reload_data_only": true,
487 "return_allowed": false,
488 "sc_currency": "INR",
489 "sc_currency_symbol": "₹",
490 "selling_price": {
491 "conversion_rate": 1,
492 "currency_code": "INR",
493 "currency_symbol": "₹",
494 "floor_source_value": 3899,
495 "floor_value": 3899,
496 "source_currency_code": "INR",
497 "source_currency_symbol": "₹",
498 "source_value": 3899,
499 "value": 3899
500 },
501 "service_item_meta": {
502 "product_group_tags": null,
503 "products": null
504 },
505 "size_level_total_qty": 1,
506 "sizes": [
507 "34"
508 ],
509 "split_article_id": "633527e850dfb8e73e6de996_0",
510 "split_index": 0,
511 "store_id": 4187,
512 "store_info": {
513 "store_id": 4187,
514 "s_city": "HYDERABAD",
515 "store_name": "AND Inorbit Hyderabad",
516 "store_type": "mall",
517 "store_pincode": 500081,
518 "latitude": 17.4343693,
519 "longitude": 78.3866087
520 },
521 "strategy_validation_data": {},
522 "tags": [
523 "rule#1"
524 ],
525 "total_gst_amount": 167.1,
526 "total_value_of_good": 3342,
527 "transfer_price": {
528 "conversion_rate": 1,
529 "currency_code": "INR",
530 "currency_symbol": "₹",
531 "floor_source_value": 0,
532 "floor_value": 0,
533 "source_currency_code": "INR",
534 "source_currency_symbol": "₹",
535 "source_value": 0,
536 "value": 0
537 },
538 "unit_price": {
539 "conversion_rate": 1,
540 "currency_code": "INR",
541 "currency_symbol": "₹",
542 "floor_source_value": 3509.1,
543 "floor_value": 3509.1,
544 "source_currency_code": "INR",
545 "source_currency_symbol": "₹",
546 "source_value": 3509.1,
547 "value": 3509.1
548 },
549 "valid_inventory": true,
550 "value_of_good": 3342,
551 "verify_article": false
552 }
553 }
554 },
555 "buy_rules": [
556 {
557 "all_items": null,
558 "cart_conditions": {},
559 "item_criteria": {
560 "item_brand": [
561 18
562 ]
563 },
564 "mrp_promo": false,
565 "slug": "rule#1"
566 }
567 ],
568 "buy_rules_map": {
569 "rule#1": {
570 "item_brand": [
571 18
572 ]
573 }
574 },
575 "calculate_on": "esp",
576 "cancellation_allowed": true,
577 "code": null,
578 "discount": 389.9,
579 "discount_rules": [
580 {
581 "all_items": null,
582 "buy_condition": "( rule#1 )",
583 "item_criteria": {
584 "buy_rules": [
585 "rule#1"
586 ]
587 },
588 "matched_buy_rules": [
589 "rule#1"
590 ],
591 "offer": {
592 "discount_percentage": 10
593 },
594 "raw_offer": {
595 "item_criteria": {
596 "buy_rules": [
597 "rule#1"
598 ]
599 },
600 "buy_condition": "( rule#1 )",
601 "discount_type": "percentage",
602 "offer": {
603 "discount_percentage": 10
604 }
605 },
606 "type": "percentage"
607 }
608 ],
609 "id": "642fe329ed159b7aa743a293",
610 "mrp_promo": false,
611 "offer_text": "10% of on NIKE Jeans",
612 "ownership": {
613 "payable_category": "seller",
614 "payable_by": ""
615 },
616 "payable_category": "seller",
617 "priority": 1,
618 "promo_group": "product",
619 "remaining_allowed_qty": null,
620 "restrictions": {
621 "uses": {
622 "maximum": {
623 "user": 0,
624 "total": 0
625 },
626 "remaining": {
627 "user": 0,
628 "total": 0
629 }
630 },
631 "user_groups": [],
632 "post_order": {
633 "return_allowed": true,
634 "cancellation_allowed": true
635 },
636 "user_id": [],
637 "payments": [],
638 "user_registered": {
639 "start": null,
640 "end": null
641 },
642 "platforms": [
643 "web",
644 "android",
645 "ios"
646 ],
647 "anonymous_users": true
648 },
649 "return_allowed": true,
650 "stackable": true,
651 "type": "percentage",
652 "usage_meta": null
653 }
654 ],
655 "items": [
656 {
657 "identifiers": {},
658 "bulk_offer": {},
659 "delivery_promise": {
660 "timestamp": {
661 "min": 1646257339,
662 "max": 1646689339
663 },
664 "formatted": {
665 "min": "03 Mar, Thursday",
666 "max": "08 Mar, Tuesday"
667 }
668 },
669 "discount": "67% OFF",
670 "moq": {},
671 "article": {
672 "type": "article",
673 "tags": [],
674 "uid": "604_902_SSTC60401_636BLUE_1",
675 "size": "1",
676 "seller": {
677 "uid": 604,
678 "name": "SHRI SHANTINATH TRADING COMPANY"
679 },
680 "store": {
681 "uid": 4579,
682 "name": "Gandhi Nagar"
683 },
684 "quantity": 108,
685 "price": {
686 "base": {
687 "marked": 2999,
688 "effective": 999,
689 "currency_code": "INR"
690 },
691 "converted": {
692 "marked": 2999,
693 "effective": 999,
694 "currency_code": "INR"
695 }
696 }
697 },
698 "coupon_message": "",
699 "key": "707569_1",
700 "charges": [
701 {
702 "type": "convenience fee",
703 "name": "convenience fee",
704 "code": "convenience fee",
705 "amount": {
706 "value": 10,
707 "currency": "INR"
708 },
709 "meta": {
710 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
711 "article_level_distribution": true
712 }
713 }
714 ],
715 "availability": {
716 "available_sizes": [
717 {
718 "is_available": true,
719 "display": "OS",
720 "value": "OS"
721 }
722 ],
723 "sizes": [
724 "1",
725 "8",
726 "7",
727 "2",
728 "9",
729 "5",
730 "3",
731 "6"
732 ],
733 "other_store_quantity": 107,
734 "out_of_stock": false,
735 "deliverable": true,
736 "is_valid": true
737 },
738 "product": {
739 "type": "product",
740 "uid": 707569,
741 "name": "Blue and Gold Printed Ethnic Set",
742 "slug": "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a",
743 "brand": {
744 "uid": 902,
745 "name": ""
746 },
747 "categories": [
748 {
749 "uid": 525,
750 "name": ""
751 }
752 ],
753 "images": [
754 {
755 "aspect_ratio": "16:25",
756 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg",
757 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg"
758 }
759 ],
760 "action": {
761 "type": "product",
762 "url": "https://api.addsale.com/v1/products/aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a/",
763 "query": {
764 "product_slug": [
765 "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a"
766 ]
767 }
768 }
769 },
770 "price": {
771 "base": {
772 "add_on": 999,
773 "marked": 2999,
774 "effective": 999,
775 "selling": 999,
776 "currency_code": "INR"
777 },
778 "converted": {
779 "add_on": 999,
780 "marked": 2999,
781 "effective": 999,
782 "selling": 999,
783 "currency_code": "INR"
784 }
785 },
786 "message": "",
787 "quantity": 1
788 }
789 ],
790 "buy_now": false,
791 "cart_id": 54,
792 "uid": "54",
793 "breakup_values": {
794 "raw": {
795 "cod_charge": 0,
796 "convenience_fee": 0,
797 "coupon": 0,
798 "delivery_charge": 0,
799 "discount": -2000,
800 "fynd_cash": 0,
801 "gst_charges": 47.57,
802 "mrp_total": 2999,
803 "mop_total": 0,
804 "store_credit": 0,
805 "total_charge": 10,
806 "subtotal": 999,
807 "total": 999,
808 "vog": 951.43,
809 "you_saved": 0
810 },
811 "coupon": {
812 "type": "cash",
813 "code": "",
814 "uid": "",
815 "value": 0,
816 "is_applied": false,
817 "message": "Sorry! Invalid Coupon"
818 },
819 "display": [
820 {
821 "display": "MRP Total",
822 "key": "mrp_total",
823 "value": 2999,
824 "currency_code": "INR"
825 },
826 {
827 "display": "Store Credit",
828 "key": "store_credit",
829 "value": 0,
830 "currency_code": "INR"
831 },
832 {
833 "display": "Discount",
834 "key": "discount",
835 "value": -2000,
836 "currency_code": "INR"
837 },
838 {
839 "display": "Subtotal",
840 "key": "subtotal",
841 "value": 999,
842 "currency_code": "INR"
843 },
844 {
845 "display": "Total",
846 "key": "total",
847 "value": 999,
848 "currency_code": "INR"
849 }
850 ],
851 "loyalty_points": {
852 "total": 0,
853 "applicable": 0,
854 "is_applied": false,
855 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
856 }
857 },
858 "delivery_charge_info": "",
859 "coupon_text": "View all offers",
860 "gstin": "",
861 "checkout_mode": "self",
862 "restrict_checkout": false,
863 "is_valid": true,
864 "custom_cart_meta": {
865 "test": "test"
866 },
867 "last_modified": "2020-03-09T00:00:00.000Z"
868}
HEAD

Get last modified timestamp of a cart

Retrieve the last modified timestamp of the cart using unique cart ID. It indicates the most recent update made to the cart's content or properties.
Parameters
id
string
The unique identifier of the cart.
Response
200
Success. Receives last modifed timestamp in the header.
Header Items
Last-Modified
string
| date
Last-Modified Action on Cart
Examples
Parameters
id:
"value"
HEAD
/service/application/cart/v1.0/detail
1curl -X HEAD "https://api.fynd.com/service/application/cart/v1.0/detail"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
Example not available.
POST

Add items to a cart

Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it.
Parameters
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
area_code
string
Customer servicable area_code.
buy_now
boolean
Select `true` to set/initialize buy now cart.
id
string
The unique identifier of the cart.
order_type
string
The order type of shipment HomeDelivery - If the customer wants the order home-delivered PickAtStore - If the customer wants the handover of an order at the store itself.
Enum
Request body
items
array of object (AddProductCart)
List of items detail which need to be added to cart like item id, item size, and item quantity.
Array of AddProductCart
article_assignment
object
Field to determine how article assignment should happen by article assignment level and strategy.
product_group_tags
array of string
Field to specify the product groups of the product that the user is trying to add in cart.
extra_meta
object
Extra meta data to be added at article level while add items to cart.
quantity
integer
| int32
Field to specify the product quantity that user wants to buy.
_custom_json
object
Field to add custom json at article level while add items to cart .
item_size
string
Field to determine size of the product.
store_id
integer
| int32
Unique identifier of the store selected by the user from which user want to buy a product.
display
string
Display field at article level .
article_id
string
Unique identifier of an article .
parent_item_identifiers
array of object
Fields to determine parent product of the product.
seller_id
integer
| int32
Unique idetifier of the seller selected by the user from which user want to buy a product .
pos
boolean
Filed to determine whether user is making request from pos or not.
item_id
integer
| int32
Unique identifier to identify product.
meta
object
Field to add meta data at article level.
seller_identifier
string
Add items using seller identifier for store os.
new_cart
boolean
Field to create to new cart whille user adds item to cart.
Response
200
Success. Returns a cart object as shown below. Refer `AddCartDetailResult` for more details.
AddCartDetailResult
message
string
Message of add to cart API response.
partial
boolean
When adding multiple items check if all added. True if only few are added.
cart
object (CartDetailResult)
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
success
boolean
True if all items are added successfully. False if partially added or not added.
result
object
Contains article related result info
items
array of object (CartItemInfo)
List of items that needs to be added in cart.
Array of CartItemInfo
item_id
integer
| int32
Item id of the product that needs to be added/updated/removed.
size
string
Item size of the product that needs to be added/updated/removed.
store_id
integer
| int32
Unique identifier of the store selected by the user from which user want to buy a product.
success
boolean
True if items are added/updated/removed successfully.
message
string
Message for added/updated/removed item.
Examples
Parameters
Parameters are not required.
POST
/service/application/cart/v1.0/detail
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/detail"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "items": [
6 {
7 "item_id": 778937,
8 "item_size": "OS",
9 "quantity": 1,
10 "article_assignment": {
11 "level": "multi-companies",
12 "strategy": "optimal"
13 },
14 "seller_id": 686,
15 "store_id": 5059,
16 "extra_meta": {},
17 "_custom_json": {}
18 }
19 ],
20 "new_cart": true
21}'
Try it
Response
1{
2 "message": "Product has been added to your cart",
3 "success": true,
4 "cart": {
5 "applied_promo_details": [
6 {
7 "application_id": "000000000000000000000001",
8 "apply_all_offers": false,
9 "apply_exclusive": null,
10 "buy_article_dict": {
11 "rule#1": {
12 "633527e850dfb8e73e6de996_0": {
13 "added_in_cart": false,
14 "added_quantity": 0,
15 "amount_paid": 0,
16 "applicable_credits": {
17 "conversion_rate": 1,
18 "currency_code": "INR",
19 "currency_symbol": "₹",
20 "floor_source_value": 0,
21 "floor_value": 0,
22 "source_currency_code": "FC",
23 "source_currency_symbol": "",
24 "source_value": 0,
25 "value": 0
26 },
27 "article_assign_status": true,
28 "article_assignment": {
29 "level": "multi-companies",
30 "strategy": "optimal"
31 },
32 "article_error": {
33 "type": null,
34 "value": null,
35 "message": null
36 },
37 "article_id": "633527e850dfb8e73e6de996",
38 "article_index": "0",
39 "article_meta": {
40 "article_id": "633527e850dfb8e73e6de996",
41 "bulk_margin": 0,
42 "bulk_discount": {
43 "conversion_rate": 1,
44 "currency_code": "INR",
45 "currency_symbol": "₹",
46 "floor_source_value": 0,
47 "floor_value": 0,
48 "source_currency_code": "INR",
49 "source_currency_symbol": "₹",
50 "source_value": 0,
51 "value": 0
52 },
53 "bulk_coupon_code": null,
54 "country_of_origin": "India",
55 "dimension": {
56 "width": 70,
57 "unit": "cm",
58 "height": 70,
59 "is_default": true,
60 "length": 70
61 },
62 "fragile": false,
63 "manufacturer": {
64 "address": "10, PALI MALA RD, ADARSH NAGAR, BANDRA WEST,, MAHARASHTRA, MUMBAI",
65 "name": "Sabki Shop",
66 "is_default": true
67 },
68 "weight": {
69 "shipping": 250,
70 "unit": "gram",
71 "is_default": true
72 },
73 "raw_meta": {
74 "fynd_identifier": "4187_3412343256098",
75 "is_set_article": false,
76 "set_quantity": 1
77 },
78 "is_set": false,
79 "set": {},
80 "identifier": {
81 "ean": "3412343256098"
82 },
83 "hsn_code": null,
84 "hsn_code_id": "625fbd96faeed8b3df6ec3ce",
85 "raw_price": {
86 "effective": {
87 "conversion_rate": 1,
88 "currency_code": "INR",
89 "currency_symbol": "₹",
90 "floor_source_value": 3899,
91 "floor_value": 3899,
92 "source_currency_code": "INR",
93 "source_currency_symbol": "₹",
94 "source_value": 3899,
95 "value": 3899
96 },
97 "marked": {
98 "conversion_rate": 1,
99 "currency_code": "INR",
100 "currency_symbol": "₹",
101 "floor_source_value": 3899,
102 "floor_value": 3899,
103 "source_currency_code": "INR",
104 "source_currency_symbol": "₹",
105 "source_value": 3899,
106 "value": 3899
107 },
108 "transfer": {
109 "conversion_rate": 1,
110 "currency_code": "INR",
111 "currency_symbol": "₹",
112 "floor_source_value": 0,
113 "floor_value": 0,
114 "source_currency_code": "INR",
115 "source_currency_symbol": "₹",
116 "source_value": 0,
117 "value": 0
118 }
119 },
120 "seller_identifier": "3412343256098",
121 "_custom_json": {},
122 "tags": [],
123 "return_config": {
124 "time": 0,
125 "unit": "days",
126 "returnable": false
127 }
128 },
129 "attributes": {
130 "essential": "No",
131 "item_code": "BSFJ2-12608",
132 "gender": [
133 "Men"
134 ],
135 "denim_type": "Solid",
136 "pattern": "Solid",
137 "product_fit": "Slim",
138 "currency": "INR",
139 "media": [
140 {
141 "type": "image",
142 "meta": {
143 "brand": "nike",
144 "item_code": "BSFJ2-12608",
145 "sequence": 0
146 },
147 "url": "https://hdn-1.addsale.com/addsale/products/pictures/item/free/original/nike/BSFJ2-12608/0/jMpkpyx17w-GWQjymow3-Black-Slim-Fit-Jeans.jpeg"
148 }
149 ],
150 "name": "Nike Jeans 12608",
151 "brand_name": "Nike"
152 },
153 "avl_qty": 97,
154 "brand_id": 18,
155 "bulk_coupon_applied": false,
156 "bulk_coupon_code": null,
157 "bulk_discount": {
158 "conversion_rate": 1,
159 "currency_code": "INR",
160 "currency_symbol": "₹",
161 "floor_source_value": 0,
162 "floor_value": 0,
163 "source_currency_code": "INR",
164 "source_currency_symbol": "₹",
165 "source_value": 0,
166 "value": 0
167 },
168 "bulk_margin": 0,
169 "cancellation_allowed": true,
170 "cashback": {
171 "amount": {
172 "conversion_rate": 1,
173 "currency_code": "INR",
174 "currency_symbol": "₹",
175 "floor_source_value": 0,
176 "floor_value": 0,
177 "source_currency_code": "FC",
178 "source_currency_symbol": "",
179 "source_value": 0,
180 "value": 0
181 }
182 },
183 "category_id": [
184 150
185 ],
186 "cod_charges": {
187 "amount": {
188 "conversion_rate": 1,
189 "currency_code": "INR",
190 "currency_symbol": "₹",
191 "floor_source_value": 0,
192 "floor_value": 0,
193 "source_currency_code": "INR",
194 "source_currency_symbol": "₹",
195 "source_value": 0,
196 "value": 0
197 }
198 },
199 "company_id": 2,
200 "company_info": {
201 "company_id": 2,
202 "c_name": "Sabki Shop",
203 "c_taxes": [
204 {
205 "rate": 15,
206 "enable": true,
207 "effective_date": "2022-06-05T18:29:23.904Z"
208 }
209 ],
210 "company_cin": "U45200MH1992PTC066474"
211 },
212 "company_taxes": [
213 {
214 "rate": 15,
215 "enable": true,
216 "effective_date": "2022-06-05T18:29:23.904Z"
217 }
218 ],
219 "coupon": {
220 "amount": {
221 "conversion_rate": 1,
222 "currency_code": "INR",
223 "currency_symbol": "₹",
224 "floor_source_value": 0,
225 "floor_value": 0,
226 "source_currency_code": "INR",
227 "source_currency_symbol": "₹",
228 "source_value": 0,
229 "value": 0
230 },
231 "article_count": 0,
232 "cancellation_allowed": true,
233 "return_allowed": true
234 },
235 "currency_dict": {
236 "code": "INR",
237 "rate": 1
238 },
239 "custom_meta": {},
240 "data": {},
241 "delivery_charges": {
242 "amount": {
243 "conversion_rate": 1,
244 "currency_code": "INR",
245 "currency_symbol": "₹",
246 "floor_source_value": 0,
247 "floor_value": 0,
248 "source_currency_code": "INR",
249 "source_currency_symbol": "₹",
250 "source_value": 0,
251 "value": 0
252 }
253 },
254 "delivery_error_msg": "",
255 "delivery_promise": {
256 "timestamp": {
257 "min": 1646257339,
258 "max": 1646689339
259 },
260 "formatted": {
261 "min": "03 Mar, Thursday",
262 "max": "08 Mar, Tuesday"
263 }
264 },
265 "departments": [
266 99
267 ],
268 "discount": 0,
269 "discount_applied": {},
270 "dt_currency": "INR",
271 "dt_currency_symbol": "₹",
272 "esp_modified": false,
273 "extra_meta": {},
274 "float_amount_paid": 0,
275 "free_gift_items_meta": {},
276 "group_id": "",
277 "gst_amount": 167.1,
278 "gst_tax_percentage": 5,
279 "hsn_code": null,
280 "hsn_code_id": "625fbd96faeed8b3df6ec3ce",
281 "identifiers": {
282 "identifier": "BDnwAINORr6SlTKxZN3w"
283 },
284 "image_nature": "standard",
285 "include": true,
286 "is_valid": true,
287 "item_id": 75660796,
288 "item_size": "34",
289 "last_update_at": 1680852767,
290 "meta": {},
291 "net_price": {
292 "conversion_rate": 1,
293 "currency_code": "INR",
294 "currency_symbol": "₹",
295 "floor_source_value": 3509.1,
296 "floor_value": 3509.1,
297 "source_currency_code": "INR",
298 "source_currency_symbol": "₹",
299 "source_value": 3509.1,
300 "value": 3509.1
301 },
302 "old_price": {
303 "conversion_rate": 1,
304 "currency_code": "INR",
305 "currency_symbol": "₹",
306 "floor_source_value": 3899,
307 "floor_value": 3899,
308 "source_currency_code": "INR",
309 "source_currency_symbol": "₹",
310 "source_value": 3899,
311 "value": 3899
312 },
313 "original_price_effective": {
314 "conversion_rate": 1,
315 "currency_code": "INR",
316 "currency_symbol": "₹",
317 "floor_source_value": 3899,
318 "floor_value": 3899,
319 "source_currency_code": "INR",
320 "source_currency_symbol": "₹",
321 "source_value": 3899,
322 "value": 3899
323 },
324 "original_unit_price": {
325 "conversion_rate": 1,
326 "currency_code": "INR",
327 "currency_symbol": "₹",
328 "floor_source_value": 3899,
329 "floor_value": 3899,
330 "source_currency_code": "INR",
331 "source_currency_symbol": "₹",
332 "source_value": 3899,
333 "value": 3899
334 },
335 "parent_item_identifiers": {
336 "identifier": null,
337 "parent_item_size": null,
338 "parent_item_id": null
339 },
340 "pickup_stores": [],
341 "price": {
342 "conversion_rate": 1,
343 "currency_code": "INR",
344 "currency_symbol": "₹",
345 "floor_source_value": 3899,
346 "floor_value": 3899,
347 "source_currency_code": "INR",
348 "source_currency_symbol": "₹",
349 "source_value": 3899,
350 "value": 3899
351 },
352 "price_effective": {
353 "conversion_rate": 1,
354 "currency_code": "INR",
355 "currency_symbol": "₹",
356 "floor_source_value": 3899,
357 "floor_value": 3899,
358 "source_currency_code": "INR",
359 "source_currency_symbol": "₹",
360 "source_value": 3899,
361 "value": 3899
362 },
363 "price_marked": {
364 "conversion_rate": 1,
365 "currency_code": "INR",
366 "currency_symbol": "₹",
367 "floor_source_value": 3899,
368 "floor_value": 3899,
369 "source_currency_code": "INR",
370 "source_currency_symbol": "₹",
371 "source_value": 3899,
372 "value": 3899
373 },
374 "product_tags": [],
375 "promotions": {
376 "amount": {
377 "conversion_rate": 1,
378 "currency_code": "INR",
379 "currency_symbol": "₹",
380 "floor_source_value": 0,
381 "floor_value": 0,
382 "source_currency_code": "INR",
383 "source_currency_symbol": "₹",
384 "source_value": 0,
385 "value": 0
386 },
387 "applied": [
388 {
389 "amount": {
390 "conversion_rate": 1,
391 "currency_code": "INR",
392 "currency_symbol": "₹",
393 "floor_source_value": 389.9,
394 "floor_value": 389.9,
395 "source_currency_code": "INR",
396 "source_currency_symbol": "₹",
397 "source_value": 389.9,
398 "value": 389.9
399 },
400 "applied_discounts": [
401 {
402 "type": "percentage",
403 "value": 10
404 }
405 ],
406 "applied_free_articles": [],
407 "apply_exclusive": null,
408 "article_quantity": 1,
409 "buy_rules": [
410 {
411 "all_items": null,
412 "cart_conditions": {},
413 "item_criteria": {
414 "item_brand": [
415 18
416 ]
417 },
418 "mrp_promo": false,
419 "slug": "rule#1"
420 }
421 ],
422 "cancellation_allowed": true,
423 "discount_rules": [
424 {
425 "all_items": null,
426 "buy_condition": "( rule#1 )",
427 "item_criteria": {
428 "buy_rules": [
429 "rule#1"
430 ]
431 },
432 "matched_buy_rules": [
433 "rule#1"
434 ],
435 "offer": {
436 "discount_percentage": 10
437 },
438 "raw_offer": {
439 "item_criteria": {
440 "buy_rules": [
441 "rule#1"
442 ]
443 },
444 "buy_condition": "( rule#1 )",
445 "discount_type": "percentage",
446 "offer": {
447 "discount_percentage": 10
448 }
449 },
450 "type": "percentage"
451 }
452 ],
453 "mrp_promo": false,
454 "offer_text": "10% of on NIKE Jeans",
455 "ownership": {
456 "payable_category": "seller",
457 "payable_by": ""
458 },
459 "payable_category": "seller",
460 "promo_code": null,
461 "promo_id": "642fe329ed159b7aa743a293",
462 "promo_type": "percentage",
463 "promotion_group": "product",
464 "return_allowed": true
465 }
466 ],
467 "apply_exclusive": null,
468 "available": [],
469 "cancellation_allowed": true,
470 "exclusive_promo_applied": false,
471 "mrp_promo_applied": false,
472 "return_allowed": true
473 },
474 "quantity": 1,
475 "quantity_assign_status": false,
476 "referral_credits": {
477 "amount": {
478 "conversion_rate": 1,
479 "currency_code": "INR",
480 "currency_symbol": "₹",
481 "floor_source_value": 0,
482 "floor_value": 0,
483 "source_currency_code": "FC",
484 "source_currency_symbol": "",
485 "source_value": 0,
486 "value": 0
487 }
488 },
489 "reload_data_only": true,
490 "return_allowed": false,
491 "sc_currency": "INR",
492 "sc_currency_symbol": "₹",
493 "selling_price": {
494 "conversion_rate": 1,
495 "currency_code": "INR",
496 "currency_symbol": "₹",
497 "floor_source_value": 3899,
498 "floor_value": 3899,
499 "source_currency_code": "INR",
500 "source_currency_symbol": "₹",
501 "source_value": 3899,
502 "value": 3899
503 },
504 "service_item_meta": {
505 "product_group_tags": null,
506 "products": null
507 },
508 "size_level_total_qty": 1,
509 "sizes": [
510 "34"
511 ],
512 "split_article_id": "633527e850dfb8e73e6de996_0",
513 "split_index": 0,
514 "store_id": 4187,
515 "store_info": {
516 "store_id": 4187,
517 "s_city": "HYDERABAD",
518 "store_name": "AND Inorbit Hyderabad",
519 "store_type": "mall",
520 "store_pincode": 500081,
521 "latitude": 17.4343693,
522 "longitude": 78.3866087
523 },
524 "strategy_validation_data": {},
525 "tags": [
526 "rule#1"
527 ],
528 "total_gst_amount": 167.1,
529 "total_value_of_good": 3342,
530 "transfer_price": {
531 "conversion_rate": 1,
532 "currency_code": "INR",
533 "currency_symbol": "₹",
534 "floor_source_value": 0,
535 "floor_value": 0,
536 "source_currency_code": "INR",
537 "source_currency_symbol": "₹",
538 "source_value": 0,
539 "value": 0
540 },
541 "unit_price": {
542 "conversion_rate": 1,
543 "currency_code": "INR",
544 "currency_symbol": "₹",
545 "floor_source_value": 3509.1,
546 "floor_value": 3509.1,
547 "source_currency_code": "INR",
548 "source_currency_symbol": "₹",
549 "source_value": 3509.1,
550 "value": 3509.1
551 },
552 "valid_inventory": true,
553 "value_of_good": 3342,
554 "verify_article": false
555 }
556 }
557 },
558 "buy_rules": [
559 {
560 "all_items": null,
561 "cart_conditions": {},
562 "item_criteria": {
563 "item_brand": [
564 18
565 ]
566 },
567 "mrp_promo": false,
568 "slug": "rule#1"
569 }
570 ],
571 "buy_rules_map": {
572 "rule#1": {
573 "item_brand": [
574 18
575 ]
576 }
577 },
578 "calculate_on": "esp",
579 "cancellation_allowed": true,
580 "code": null,
581 "discount": 389.9,
582 "discount_rules": [
583 {
584 "all_items": null,
585 "buy_condition": "( rule#1 )",
586 "item_criteria": {
587 "buy_rules": [
588 "rule#1"
589 ]
590 },
591 "matched_buy_rules": [
592 "rule#1"
593 ],
594 "offer": {
595 "discount_percentage": 10
596 },
597 "raw_offer": {
598 "item_criteria": {
599 "buy_rules": [
600 "rule#1"
601 ]
602 },
603 "buy_condition": "( rule#1 )",
604 "discount_type": "percentage",
605 "offer": {
606 "discount_percentage": 10
607 }
608 },
609 "type": "percentage"
610 }
611 ],
612 "id": "642fe329ed159b7aa743a293",
613 "mrp_promo": false,
614 "offer_text": "10% of on NIKE Jeans",
615 "ownership": {
616 "payable_category": "seller",
617 "payable_by": ""
618 },
619 "payable_category": "seller",
620 "priority": 1,
621 "promo_group": "product",
622 "remaining_allowed_qty": null,
623 "restrictions": {
624 "uses": {
625 "maximum": {
626 "user": 0,
627 "total": 0
628 },
629 "remaining": {
630 "user": 0,
631 "total": 0
632 }
633 },
634 "user_groups": [],
635 "post_order": {
636 "return_allowed": true,
637 "cancellation_allowed": true
638 },
639 "user_id": [],
640 "payments": [],
641 "user_registered": {
642 "start": null,
643 "end": null
644 },
645 "platforms": [
646 "web",
647 "android",
648 "ios"
649 ],
650 "anonymous_users": true
651 },
652 "return_allowed": true,
653 "stackable": true,
654 "type": "percentage",
655 "usage_meta": null
656 }
657 ],
658 "breakup_values": {
659 "display": [
660 {
661 "display": "MRP Total",
662 "key": "mrp_total",
663 "value": 17486,
664 "currency_code": "INR"
665 },
666 {
667 "display": "Store Credit",
668 "key": "store_credit",
669 "value": 0,
670 "currency_code": "INR"
671 },
672 {
673 "display": "Discount",
674 "key": "discount",
675 "value": -3540,
676 "currency_code": "INR"
677 },
678 {
679 "display": "Subtotal",
680 "key": "subtotal",
681 "value": 13946,
682 "currency_code": "INR"
683 },
684 {
685 "display": "Total",
686 "key": "total",
687 "value": 13946,
688 "currency_code": "INR"
689 }
690 ],
691 "raw": {
692 "cod_charge": 0,
693 "convenience_fee": 0,
694 "coupon": 0,
695 "delivery_charge": 0,
696 "discount": -3540,
697 "fynd_cash": 0,
698 "store_credit": 0,
699 "gst_charges": 1529.96,
700 "mrp_total": 17486,
701 "mop_total": 0,
702 "total_charge": 10,
703 "subtotal": 13946,
704 "total": 13946,
705 "vog": 12416.04,
706 "you_saved": 0
707 },
708 "loyalty_points": {
709 "total": 0,
710 "applicable": 0,
711 "is_applied": false,
712 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
713 },
714 "coupon": {
715 "type": "cash",
716 "code": "",
717 "uid": "",
718 "value": 0,
719 "is_applied": false,
720 "message": "Sorry! Invalid Coupon"
721 }
722 },
723 "items": [
724 {
725 "key": "751083_10",
726 "parent_item_identifiers": {
727 "identifier": "ZASFF",
728 "parent_item_id": 7501190,
729 "parent_item_size": "OS"
730 },
731 "identifiers": {},
732 "moq": {},
733 "delivery_promise": {
734 "timestamp": {
735 "min": 1646257339,
736 "max": 1646689339
737 },
738 "formatted": {
739 "min": "03 Mar, Thursday",
740 "max": "08 Mar, Tuesday"
741 }
742 },
743 "article": {
744 "type": "article",
745 "uid": "612_9_SE61201_19100302_10",
746 "size": "10",
747 "seller": {
748 "uid": 612,
749 "name": "SSR ENTERPRISE"
750 },
751 "store": {
752 "uid": 4431,
753 "name": "Motilal Nagar 1, Goregaon"
754 },
755 "quantity": 4,
756 "price": {
757 "base": {
758 "marked": 3999,
759 "effective": 2399,
760 "currency_code": "INR"
761 },
762 "converted": {
763 "marked": 3999,
764 "effective": 2399,
765 "currency_code": "INR"
766 }
767 }
768 },
769 "charges": [
770 {
771 "type": "convenience fee",
772 "name": "convenience fee",
773 "code": "convenience fee",
774 "amount": {
775 "value": 10,
776 "currency": "INR"
777 },
778 "meta": {
779 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
780 "article_level_distribution": true
781 }
782 }
783 ],
784 "price": {
785 "base": {
786 "add_on": 4798,
787 "marked": 7998,
788 "effective": 4798,
789 "selling": 4798,
790 "currency_code": "INR"
791 },
792 "converted": {
793 "add_on": 4798,
794 "marked": 7998,
795 "effective": 4798,
796 "selling": 4798,
797 "currency_code": "INR"
798 }
799 },
800 "availability": {
801 "sizes": [
802 "10"
803 ],
804 "available_sizes": [
805 {
806 "is_available": true,
807 "display": "OS",
808 "value": "OS"
809 }
810 ],
811 "other_store_quantity": 2,
812 "out_of_stock": false,
813 "deliverable": true,
814 "is_valid": true
815 },
816 "product": {
817 "type": "product",
818 "uid": 751083,
819 "name": "Carson 2",
820 "slug": "puma-carson-2-751083-6ad98d",
821 "brand": {
822 "uid": 9,
823 "name": "Puma"
824 },
825 "categories": [
826 {
827 "uid": 165,
828 "name": "Outdoor Sports Shoes"
829 }
830 ],
831 "images": [
832 {
833 "aspect_ratio": "16:25",
834 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/9_19100302/1_1542807042296.jpg",
835 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/9_19100302/1_1542807042296.jpg"
836 }
837 ],
838 "action": {
839 "type": "page",
840 "page": {
841 "type": "product",
842 "params": {
843 "slug": [
844 "puma-carson-2-751083-6ad98d"
845 ]
846 }
847 },
848 "url": "https://api.addsale.com/platform/content/v1/products/puma-carson-2-751083-6ad98d/",
849 "query": {
850 "product_slug": [
851 "puma-carson-2-751083-6ad98d"
852 ]
853 }
854 }
855 },
856 "coupon_message": "",
857 "quantity": 2,
858 "message": "",
859 "bulk_offer": {},
860 "discount": "41% OFF"
861 },
862 {
863 "key": "246228_S",
864 "moq": {},
865 "identifiers": {},
866 "delivery_promise": {
867 "timestamp": {
868 "min": 1646257339,
869 "max": 1646689339
870 },
871 "formatted": {
872 "min": "03 Mar, Thursday",
873 "max": "08 Mar, Tuesday"
874 }
875 },
876 "article": {
877 "type": "article",
878 "uid": "46_235_TM62_M11029ONDSXNS_S",
879 "size": "S",
880 "seller": {
881 "uid": 46,
882 "name": "RELIANCE BRANDS LIMITED"
883 },
884 "store": {
885 "uid": 4550,
886 "name": "VR Mall"
887 },
888 "quantity": 1,
889 "price": {
890 "base": {
891 "marked": 4490,
892 "effective": 4490,
893 "currency_code": "INR"
894 },
895 "converted": {
896 "marked": 4490,
897 "effective": 4490,
898 "currency_code": "INR"
899 }
900 }
901 },
902 "charges": [
903 {
904 "type": "convenience fee",
905 "name": "convenience fee",
906 "code": "convenience fee",
907 "amount": {
908 "value": 10,
909 "currency": "INR"
910 },
911 "meta": {
912 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
913 "article_level_distribution": true
914 }
915 }
916 ],
917 "price": {
918 "base": {
919 "add_on": 4490,
920 "marked": 4490,
921 "effective": 4490,
922 "selling": 4490,
923 "currency_code": "INR"
924 },
925 "converted": {
926 "add_on": 4490,
927 "marked": 4490,
928 "effective": 4490,
929 "selling": 4490,
930 "currency_code": "INR"
931 }
932 },
933 "availability": {
934 "sizes": [
935 "L",
936 "M",
937 "S",
938 "XL",
939 "XXL"
940 ],
941 "available_sizes": [
942 {
943 "is_available": true,
944 "display": "OS",
945 "value": "OS"
946 }
947 ],
948 "other_store_quantity": 0,
949 "out_of_stock": false,
950 "deliverable": true,
951 "is_valid": true
952 },
953 "product": {
954 "type": "product",
955 "uid": 246228,
956 "name": "Blue Solid T-Shirt",
957 "slug": "superdry-blue-solid-t-shirt-2",
958 "brand": {
959 "uid": 235,
960 "name": "Superdry"
961 },
962 "categories": [
963 {
964 "uid": 192,
965 "name": "T-Shirts"
966 }
967 ],
968 "images": [
969 {
970 "aspect_ratio": "16:25",
971 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/235_M11029ONDSXNS/1.jpg",
972 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/235_M11029ONDSXNS/1.jpg"
973 }
974 ],
975 "action": {
976 "type": "product",
977 "url": "https://api.addsale.com/platform/content/v1/products/superdry-blue-solid-t-shirt-2/",
978 "query": {
979 "product_slug": [
980 "superdry-blue-solid-t-shirt-2"
981 ]
982 }
983 }
984 },
985 "coupon_message": "",
986 "quantity": 1,
987 "message": "",
988 "bulk_offer": {},
989 "discount": ""
990 },
991 {
992 "key": "443175_S",
993 "moq": {},
994 "identifiers": {},
995 "delivery_promise": {
996 "timestamp": {
997 "min": 1646257339,
998 "max": 1646689339
999 },
1000 "formatted": {
1001 "min": "03 Mar, Thursday",
1002 "max": "08 Mar, Tuesday"
1003 }
1004 },
1005 "article": {
1006 "type": "article",
1007 "uid": "162_207_1271_LJ03LBLUDN88_S",
1008 "size": "S",
1009 "seller": {
1010 "uid": 162,
1011 "name": "GO FASHION INDIA PRIVATE LIMITED"
1012 },
1013 "store": {
1014 "uid": 5784,
1015 "name": "Vega City mall"
1016 },
1017 "quantity": 3,
1018 "price": {
1019 "base": {
1020 "marked": 1599,
1021 "effective": 1599,
1022 "currency_code": "INR"
1023 },
1024 "converted": {
1025 "marked": 1599,
1026 "effective": 1599,
1027 "currency_code": "INR"
1028 }
1029 }
1030 },
1031 "charges": [
1032 {
1033 "type": "convenience fee",
1034 "name": "convenience fee",
1035 "code": "convenience fee",
1036 "amount": {
1037 "value": 10,
1038 "currency": "INR"
1039 },
1040 "meta": {
1041 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
1042 "article_level_distribution": true
1043 }
1044 }
1045 ],
1046 "price": {
1047 "base": {
1048 "add_on": 1599,
1049 "marked": 1599,
1050 "effective": 1599,
1051 "selling": 1599,
1052 "currency_code": "INR"
1053 },
1054 "converted": {
1055 "add_on": 1599,
1056 "marked": 1599,
1057 "effective": 1599,
1058 "selling": 1599,
1059 "currency_code": "INR"
1060 }
1061 },
1062 "availability": {
1063 "sizes": [
1064 "XL",
1065 "M",
1066 "L",
1067 "S"
1068 ],
1069 "available_sizes": [
1070 {
1071 "is_available": true,
1072 "display": "OS",
1073 "value": "OS"
1074 }
1075 ],
1076 "other_store_quantity": 8,
1077 "out_of_stock": false,
1078 "deliverable": true,
1079 "is_valid": true
1080 },
1081 "product": {
1082 "type": "product",
1083 "uid": 443175,
1084 "name": "Light Blue Denim Jeggings",
1085 "slug": "go-colors-light-blue-denim-jeggings-443175-3c688c",
1086 "brand": {
1087 "uid": 207,
1088 "name": "Go Colors"
1089 },
1090 "categories": [
1091 {
1092 "uid": 267,
1093 "name": "Jeggings"
1094 }
1095 ],
1096 "images": [
1097 {
1098 "aspect_ratio": "16:25",
1099 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/207_LJ03LBLUDN88/1_1512382513548.jpg",
1100 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/207_LJ03LBLUDN88/1_1512382513548.jpg"
1101 }
1102 ],
1103 "action": {
1104 "type": "product",
1105 "url": "https://api.addsale.com/platform/content/v1/products/go-colors-light-blue-denim-jeggings-443175-3c688c/",
1106 "query": {
1107 "product_slug": [
1108 "go-colors-light-blue-denim-jeggings-443175-3c688c"
1109 ]
1110 }
1111 }
1112 },
1113 "coupon_message": "",
1114 "quantity": 1,
1115 "message": "",
1116 "bulk_offer": {},
1117 "discount": ""
1118 },
1119 {
1120 "key": "778937_OS",
1121 "moq": {},
1122 "identifiers": {},
1123 "delivery_promise": {
1124 "timestamp": {
1125 "min": 1646257339,
1126 "max": 1646689339
1127 },
1128 "formatted": {
1129 "min": "03 Mar, Thursday",
1130 "max": "08 Mar, Tuesday"
1131 }
1132 },
1133 "article": {
1134 "type": "article",
1135 "uid": "686_963_IC68601_PWUPC01977_OS",
1136 "size": "OS",
1137 "seller": {
1138 "uid": 686,
1139 "name": "INDUS CORPORATION"
1140 },
1141 "store": {
1142 "uid": 5059,
1143 "name": "Vidyaranyapura Main Road"
1144 },
1145 "quantity": 3,
1146 "price": {
1147 "base": {
1148 "marked": 3399,
1149 "effective": 3059,
1150 "currency_code": "INR"
1151 },
1152 "converted": {
1153 "marked": 3399,
1154 "effective": 3059,
1155 "currency_code": "INR"
1156 }
1157 }
1158 },
1159 "charges": [
1160 {
1161 "type": "convenience fee",
1162 "name": "convenience fee",
1163 "code": "convenience fee",
1164 "amount": {
1165 "value": 10,
1166 "currency": "INR"
1167 },
1168 "meta": {
1169 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
1170 "article_level_distribution": true
1171 }
1172 }
1173 ],
1174 "price": {
1175 "base": {
1176 "add_on": 3059,
1177 "marked": 3399,
1178 "effective": 3059,
1179 "selling": 3059,
1180 "currency_code": "INR"
1181 },
1182 "converted": {
1183 "add_on": 3059,
1184 "marked": 3399,
1185 "effective": 3059,
1186 "selling": 3059,
1187 "currency_code": "INR"
1188 }
1189 },
1190 "availability": {
1191 "sizes": [
1192 "OS"
1193 ],
1194 "available_sizes": [
1195 {
1196 "is_available": true,
1197 "display": "OS",
1198 "value": "OS"
1199 }
1200 ],
1201 "other_store_quantity": 2,
1202 "out_of_stock": false,
1203 "deliverable": true,
1204 "is_valid": true
1205 },
1206 "product": {
1207 "type": "product",
1208 "uid": 778937,
1209 "name": "Colourful Carnival Bouncer",
1210 "slug": "fisher-price-colourful-carnival-bouncer-778937-fafa1f",
1211 "brand": {
1212 "uid": 963,
1213 "name": "Fisher-Price"
1214 },
1215 "categories": [
1216 {
1217 "uid": 576,
1218 "name": "Cradles"
1219 }
1220 ],
1221 "images": [
1222 {
1223 "aspect_ratio": "16:25",
1224 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/963_PWUPC01977/1_1545308400588.jpg",
1225 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/963_PWUPC01977/1_1545308400588.jpg"
1226 }
1227 ],
1228 "action": {
1229 "type": "product",
1230 "url": "https://api.addsale.com/platform/content/v1/products/fisher-price-colourful-carnival-bouncer-778937-fafa1f/",
1231 "query": {
1232 "product_slug": [
1233 "fisher-price-colourful-carnival-bouncer-778937-fafa1f"
1234 ]
1235 }
1236 }
1237 },
1238 "coupon_message": "",
1239 "quantity": 1,
1240 "message": "",
1241 "bulk_offer": {},
1242 "discount": "11% OFF"
1243 }
1244 ],
1245 "delivery_charge_info": "",
1246 "coupon_text": "View all offers",
1247 "buy_now": false,
1248 "cart_id": 7927,
1249 "uid": "7927",
1250 "gstin": "",
1251 "checkout_mode": "self",
1252 "last_modified": "2020-03-09T00:00:00.000Z",
1253 "restrict_checkout": false,
1254 "is_valid": true,
1255 "custom_cart_meta": {
1256 "test": "test"
1257 }
1258 },
1259 "result": {},
1260 "items": [
1261 {
1262 "item_id": 778937,
1263 "size": "OS",
1264 "store_id": 5059,
1265 "success": true,
1266 "message": "Product has been added to your cart"
1267 }
1268 ]
1269}
PUT

Update cart items

Update cart. Customers can modify added product attributes such as quantity and size, as well as remove items from the cart.
Parameters
id
string
The unique identifier of the cart.
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
area_code
string
Customer servicable area_code.
buy_now
boolean
Select `true` to set/initialize buy now cart.
cart_type
string
The type of cart.
order_type
string
The order type of shipment HomeDelivery - If the customer wants the order home-delivered PickAtStore - If the customer wants the handover of an order at the store itself.
Enum
Request body
items
array of object (UpdateProductCart)
List items data that needs to be updated in cart.
Array of UpdateProductCart
extra_meta
object
Field to update extra meta of the product in cart.
_custom_json
object
Field to update custom json of the product in cart.
quantity
integer
| int32
Field to update the quantity of the item in cart.
item_size
string
Field to update the size of the product in cart.
item_index
integer
| int32
Item index determines on which index the product falls to be updated.
identifiers
object (CartProductIdentifer)
Required
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
article_id
string
Article id of the product in cart.
parent_item_identifiers
object
Field to update parent product of the item in cart.
item_id
integer
| int32
Item id of the product that needs to be updated.
meta
object
Field to update meta of the item in cart.
free_gift_items
array of object (FreeGiftItemCreation)
List of free gift items with updated sizes.
Array of FreeGiftItemCreation
promotion_id
string
Required
Unique identifier of the free gift promotion.
item_id
string
Required
Unique identifier of the selected free gift item.
item_size
string
Required
Size of the selected free gift item.
operation
string
Required
Field to determine if item to be removed from cart or it needs to be updated.
Enum
Response
200
Success. Updates and returns a cart object as shown below. Refer `UpdateCartDetailResult` for more details.
UpdateCartDetailResult
message
string
Message of update cart API response.
cart
object (CartDetailResult)
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
success
boolean
True if all items are added successfully. False if partially added or not added.
result
object
Contains article related result info
items
array of object (CartItemInfo)
List of items that needs to be updated in cart.
Array of CartItemInfo
item_id
integer
| int32
Item id of the product that needs to be added/updated/removed.
size
string
Item size of the product that needs to be added/updated/removed.
store_id
integer
| int32
Unique identifier of the store selected by the user from which user want to buy a product.
success
boolean
True if items are added/updated/removed successfully.
message
string
Message for added/updated/removed item.
Examples
Parameters
Parameters are not required.
PUT
/service/application/cart/v1.0/detail
1curl -X PUT "https://api.fynd.com/service/application/cart/v1.0/detail"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "items": [
6 {
7 "item_id": 778937,
8 "identifiers": {},
9 "item_size": "OS",
10 "quantity": 2,
11 "article_id": "778937_OS",
12 "item_index": 3,
13 "extra_meta": {},
14 "_custom_json": {}
15 }
16 ],
17 "free_gift_items": [
18 {
19 "promotion_id": "value",
20 "item_id": "value",
21 "item_size": "value"
22 }
23 ],
24 "operation": "update_item"
25}'
Try it
Response
1{
2 "cart": {
3 "breakup_values": {
4 "raw": {
5 "cod_charge": 0,
6 "convenience_fee": 0,
7 "gift_card": 30,
8 "coupon": 0,
9 "delivery_charge": 0,
10 "store_credit": 0,
11 "discount": -202000,
12 "fynd_cash": 0,
13 "gst_charges": 4804.71,
14 "mrp_total": 302899,
15 "mop_total": 0,
16 "total_charge": 10,
17 "subtotal": 100899,
18 "total": 100899,
19 "vog": 96094.29,
20 "you_saved": 0
21 },
22 "coupon": {
23 "type": "cash",
24 "code": "",
25 "uid": "",
26 "value": 0,
27 "is_applied": false,
28 "message": "Sorry! Invalid Coupon"
29 },
30 "display": [
31 {
32 "display": "Gift Card",
33 "key": "gift_card",
34 "value": 30,
35 "currency_code": "INR"
36 },
37 {
38 "display": "Store Credit",
39 "key": "store_credit",
40 "value": 0,
41 "currency_code": "INR"
42 },
43 {
44 "display": "MRP Total",
45 "key": "mrp_total",
46 "value": 302899,
47 "currency_code": "INR"
48 },
49 {
50 "display": "Discount",
51 "key": "discount",
52 "value": -202000,
53 "currency_code": "INR"
54 },
55 {
56 "display": "Subtotal",
57 "key": "subtotal",
58 "value": 100899,
59 "currency_code": "INR"
60 },
61 {
62 "display": "Total",
63 "key": "total",
64 "value": 100899,
65 "currency_code": "INR"
66 }
67 ],
68 "loyalty_points": {
69 "total": 0,
70 "applicable": 0,
71 "is_applied": false,
72 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
73 }
74 },
75 "items": [
76 {
77 "bulk_offer": {},
78 "discount": "67% OFF",
79 "parent_item_identifiers": {
80 "identifier": "ZASFF",
81 "parent_item_id": 7501190,
82 "parent_item_size": "OS"
83 },
84 "identifiers": {},
85 "article": {
86 "type": "article",
87 "is_gift_visible": true,
88 "gift_card": {
89 "display_text": "",
90 "price": 30,
91 "gift_message": "",
92 "is_gift_applied": true
93 },
94 "uid": "604_902_SSTC60401_636BLUE_1",
95 "size": "1",
96 "seller": {
97 "uid": 604,
98 "name": "SHRI SHANTINATH TRADING COMPANY"
99 },
100 "store": {
101 "uid": 4579,
102 "name": "Gandhi Nagar"
103 },
104 "quantity": 108,
105 "price": {
106 "base": {
107 "marked": 2999,
108 "effective": 999,
109 "currency_code": "INR"
110 },
111 "converted": {
112 "marked": 2999,
113 "effective": 999,
114 "currency_code": "INR"
115 }
116 }
117 },
118 "charges": [
119 {
120 "type": "convenience fee",
121 "name": "convenience fee",
122 "code": "convenience fee",
123 "amount": {
124 "value": 10,
125 "currency": "INR"
126 },
127 "meta": {
128 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
129 "article_level_distribution": true
130 }
131 }
132 ],
133 "coupon_message": "",
134 "key": "707569_1",
135 "availability": {
136 "sizes": [
137 "1",
138 "8",
139 "7",
140 "2",
141 "9",
142 "5",
143 "3",
144 "6"
145 ],
146 "other_store_quantity": 7,
147 "out_of_stock": false,
148 "deliverable": true,
149 "is_valid": true
150 },
151 "product": {
152 "type": "product",
153 "uid": 707569,
154 "name": "Blue and Gold Printed Ethnic Set",
155 "slug": "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a",
156 "brand": {
157 "uid": 902,
158 "name": ""
159 },
160 "categories": [
161 {
162 "uid": 525,
163 "name": ""
164 }
165 ],
166 "images": [
167 {
168 "aspect_ratio": "16:25",
169 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg",
170 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg"
171 }
172 ],
173 "action": {
174 "type": "product",
175 "url": "https://api.addsale.com/v1/products/aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a/",
176 "query": {
177 "product_slug": [
178 "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a"
179 ]
180 }
181 }
182 },
183 "price": {
184 "base": {
185 "add_on": 100899,
186 "marked": 302899,
187 "effective": 100899,
188 "selling": 100899,
189 "currency_code": "INR"
190 },
191 "converted": {
192 "add_on": 100899,
193 "marked": 302899,
194 "effective": 100899,
195 "selling": 100899,
196 "currency_code": "INR"
197 }
198 },
199 "message": "",
200 "quantity": 101
201 }
202 ],
203 "delivery_charge_info": "",
204 "coupon_text": "View all offers",
205 "buy_now": false,
206 "cart_id": 54,
207 "uid": "54",
208 "gstin": "",
209 "checkout_mode": "self",
210 "restrict_checkout": false,
211 "is_valid": true,
212 "last_modified": "2020-03-09T00:00:00.000Z",
213 "custom_cart_meta": {
214 "test": "test"
215 }
216 },
217 "result": {
218 "707569_90": {
219 "success": true,
220 "message": "Nothing updated"
221 }
222 },
223 "items": [
224 {
225 "item_id": 707569,
226 "size": 90,
227 "store_id": 4579,
228 "success": true,
229 "message": "Nothing updated"
230 }
231 ],
232 "message": "Nothing updated",
233 "success": true
234}
PATCH

Update store credits into cart and their items

Update cart. Customers can adjust the cart breakup by applying or removing store credits as needed.
Parameters
id
string
The unique identifier of the cart.
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
buy_now
boolean
Select `true` to set/initialize buy now cart.
cart_type
string
The type of cart.
Request body
store_credit
boolean
Required
Field to determine if store credits needs to apply on cart or not.
Response
200
Success. Updates and returns a cart object as shown below. Refer `UpdateCartDetailResult` for more details.
UpdateCartDetailResult
message
string
Message of update cart API response.
cart
object (CartDetailResult)
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
success
boolean
True if all items are added successfully. False if partially added or not added.
result
object
Contains article related result info
items
array of object (CartItemInfo)
List of items that needs to be updated in cart.
Array of CartItemInfo
item_id
integer
| int32
Item id of the product that needs to be added/updated/removed.
size
string
Item size of the product that needs to be added/updated/removed.
store_id
integer
| int32
Unique identifier of the store selected by the user from which user want to buy a product.
success
boolean
True if items are added/updated/removed successfully.
message
string
Message for added/updated/removed item.
Examples
Parameters
Parameters are not required.
PATCH
/service/application/cart/v1.0/detail
1curl -X PATCH "https://api.fynd.com/service/application/cart/v1.0/detail"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "store_credit": true
6}'
Try it
Response
1{
2 "cart": {
3 "breakup_values": {
4 "raw": {
5 "cod_charge": 0,
6 "convenience_fee": 0,
7 "gift_card": 30,
8 "coupon": 0,
9 "delivery_charge": 0,
10 "discount": -202000,
11 "fynd_cash": 0,
12 "gst_charges": 4804.71,
13 "mrp_total": 302899,
14 "mop_total": 0,
15 "store_credit": 0,
16 "total_charge": 10,
17 "subtotal": 100899,
18 "total": 100899,
19 "vog": 96094.29,
20 "you_saved": 0
21 },
22 "coupon": {
23 "type": "cash",
24 "code": "",
25 "uid": "",
26 "value": 0,
27 "is_applied": false,
28 "message": "Sorry! Invalid Coupon"
29 },
30 "display": [
31 {
32 "display": "Gift Card",
33 "key": "gift_card",
34 "value": 30,
35 "currency_code": "INR"
36 },
37 {
38 "display": "MRP Total",
39 "key": "mrp_total",
40 "value": 302899,
41 "currency_code": "INR"
42 },
43 {
44 "display": "Discount",
45 "key": "discount",
46 "value": -202000,
47 "currency_code": "INR"
48 },
49 {
50 "display": "Store Credit",
51 "key": "store_credit",
52 "value": 0,
53 "currency_code": "INR"
54 },
55 {
56 "display": "Subtotal",
57 "key": "subtotal",
58 "value": 100899,
59 "currency_code": "INR"
60 },
61 {
62 "display": "Total",
63 "key": "total",
64 "value": 100899,
65 "currency_code": "INR"
66 }
67 ],
68 "loyalty_points": {
69 "total": 0,
70 "applicable": 0,
71 "is_applied": false,
72 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
73 }
74 },
75 "items": [
76 {
77 "bulk_offer": {},
78 "discount": "67% OFF",
79 "parent_item_identifiers": {
80 "identifier": "ZASFF",
81 "parent_item_id": 7501190,
82 "parent_item_size": "OS"
83 },
84 "identifiers": {},
85 "article": {
86 "type": "article",
87 "is_gift_visible": true,
88 "gift_card": {
89 "display_text": "",
90 "price": 30,
91 "gift_message": "",
92 "is_gift_applied": true
93 },
94 "uid": "604_902_SSTC60401_636BLUE_1",
95 "size": "1",
96 "seller": {
97 "uid": 604,
98 "name": "SHRI SHANTINATH TRADING COMPANY"
99 },
100 "store": {
101 "uid": 4579,
102 "name": "Gandhi Nagar"
103 },
104 "quantity": 108,
105 "price": {
106 "base": {
107 "marked": 2999,
108 "effective": 999,
109 "currency_code": "INR"
110 },
111 "converted": {
112 "marked": 2999,
113 "effective": 999,
114 "currency_code": "INR"
115 }
116 }
117 },
118 "charges": [
119 {
120 "type": "convenience fee",
121 "name": "convenience fee",
122 "code": "convenience fee",
123 "amount": {
124 "value": 10,
125 "currency": "INR"
126 },
127 "meta": {
128 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
129 "article_level_distribution": true
130 }
131 }
132 ],
133 "coupon_message": "",
134 "key": "707569_1",
135 "availability": {
136 "sizes": [
137 "1",
138 "8",
139 "7",
140 "2",
141 "9",
142 "5",
143 "3",
144 "6"
145 ],
146 "other_store_quantity": 7,
147 "out_of_stock": false,
148 "deliverable": true,
149 "is_valid": true
150 },
151 "product": {
152 "type": "product",
153 "uid": 707569,
154 "name": "Blue and Gold Printed Ethnic Set",
155 "slug": "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a",
156 "brand": {
157 "uid": 902,
158 "name": ""
159 },
160 "categories": [
161 {
162 "uid": 525,
163 "name": ""
164 }
165 ],
166 "images": [
167 {
168 "aspect_ratio": "16:25",
169 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg",
170 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg"
171 }
172 ],
173 "action": {
174 "type": "product",
175 "url": "https://api.addsale.com/v1/products/aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a/",
176 "query": {
177 "product_slug": [
178 "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a"
179 ]
180 }
181 }
182 },
183 "price": {
184 "base": {
185 "add_on": 100899,
186 "marked": 302899,
187 "effective": 100899,
188 "selling": 100899,
189 "currency_code": "INR"
190 },
191 "converted": {
192 "add_on": 100899,
193 "marked": 302899,
194 "effective": 100899,
195 "selling": 100899,
196 "currency_code": "INR"
197 }
198 },
199 "message": "",
200 "quantity": 101
201 }
202 ],
203 "delivery_charge_info": "",
204 "coupon_text": "View all offers",
205 "buy_now": false,
206 "cart_id": 54,
207 "uid": "54",
208 "gstin": "",
209 "checkout_mode": "self",
210 "restrict_checkout": false,
211 "is_valid": true,
212 "last_modified": "2020-03-09T00:00:00.000Z",
213 "custom_cart_meta": {
214 "test": "test"
215 }
216 },
217 "result": {
218 "707569_90": {
219 "success": true,
220 "message": "Nothing updated"
221 }
222 },
223 "items": [
224 {
225 "item_id": 707569,
226 "size": 90,
227 "store_id": 4579,
228 "success": true,
229 "message": "Nothing updated"
230 }
231 ],
232 "message": "Nothing updated",
233 "success": true
234}
PUT

Delete a cart

Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections.
Parameters
id
string
The unique identifier of the cart.
Response
200
Success. Returns whether the cart has been deleted or not.
DeleteCartDetailResult
message
string
Message for delete cart response.
success
boolean
True if cart is archived successfully. False if not archived.
Examples
Parameters
id:
"value"
PUT
/service/application/cart/v1.0/cart_archive
1curl -X PUT "https://api.fynd.com/service/application/cart/v1.0/cart_archive"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
Try it
Response
1{
2 "success": true,
3 "message": "cart archived"
4}
GET

Get a cart items count

Get total count of items currently present in the customer's cart.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Boolean value to get buy_now cart.
Response
200
Success. Returns the total count of items in a user's cart.
CartItemCountResult
user_cart_items_count
integer
| int32
Item count present in cart.
Examples
Parameters
id:
"value"
buy_now:
false
GET
/service/application/cart/v1.0/basic
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/basic"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "user_cart_items_count": 0
3}
PUT

Update cart metadata

Update metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Whether to get buy_now cart.
Request body
delivery_slots
object
Delivery slots details includes article level time slot when the shipment can be delivered.
gift_details
object (ArticleGiftDetail)
ArticleGiftDetail
article_id
object (GiftDetail)
GiftDetail
is_gift_applied
boolean
Is gift applied flag which determines if this is a gift oder not.
gift_message
string
Gift message for the one while receive the delivery of the order with this message.
pick_up_customer_details
object
Customer contact details for customer pickup at store.
checkout_mode
string
Checkout mode of user cart.
comment
string
Comment message to be added in user cart.
gstin
string
GSTIN number to be added in user cart.
custom_cart_meta
object
Custom cart meta json to be added in order meta which can be further received in cart API response and order meta in order detail API or webhook.
Response
200
400
Returns a message indicating the success of cart meta updation as shown below.
CartMetaResult
message
string
Detailed message.
is_valid
boolean
Whether added meta was vaild.
Examples
Parameters
id:
"value"
buy_now:
false
body:
body
PUT
/service/application/cart/v1.0/meta
1curl -X PUT "https://api.fynd.com/service/application/cart/v1.0/meta"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "delivery_slots": {
6 "address": {
7 "delivery_date": "2023-02-25T00:00:00.000Z",
8 "min_slot": "10:00",
9 "max_slot": "14:00"
10 },
11 "articles": {
12 "6295b0a9b95ed478593e2b81": {
13 "delivery_date": "2023-02-25T00:00:00.000Z",
14 "min_slot": "10:00",
15 "max_slot": "14:00"
16 }
17 }
18 },
19 "gift_details": {
20 "63c52cf23b300449784fdf4d": {
21 "is_gift_applied": true,
22 "gift_message": ""
23 }
24 },
25 "pick_up_customer_details": {},
26 "checkout_mode": "self",
27 "comment": "Leave it with neighbour",
28 "gstin": "27AAPFU0939F1ZV",
29 "custom_cart_meta": {
30 "test": "test"
31 }
32}'
Try it
Response
1{
2 "message": "cart meta updated"
3}
GET

List shared cart items

Get cart items from the shared cart link based on unique token.
Parameters
token
string
Required
Token of the shared short link.
Response
200
404
Success. Returns a Cart object as per the valid token. Refer `SharedCartResult` for more details.
SharedCartResult
error
string
Error details if any error occurs which includes type of error, error code and error message.
cart
object (SharedCart)
SharedCart
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
cart_id
integer
| int32
Cart id of user cart for generating cart sharing token.
is_valid
boolean
Valid flag for get shared cart detail API.
id
string
Cart id of shared cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
uid
string
Cart id of the user cart.
delivery_charge_info
string
Delivery charge info message of the user cart.
message
string
Message of the get shared cart API response.
gstin
string
GSTIN added in user cart.
shared_cart_details
object (SharedCartDetails)
SharedCartDetails
token
string
Short link id of the user cart that needs to be shared.
user
object
User details of who generated share link.
created_on
string
| date-time
Created on timestamp of user cart.
source
object
Share link device and other source information.
meta
object
Meta data sent while generating share cart link.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of user cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of the applied coupon on user cart.
buy_now
boolean
Buy now flag of user cart.
custom_cart_meta
object
Custom cart meta of user cart added via update cart meta API.
Examples
Parameters
token:
"value"
GET
/service/application/cart/v1.0/share-cart/{token}
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/share-cart/{token}"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "cart": {
3 "shared_cart_details": {
4 "token": "BQ9jySQ9",
5 "user": {
6 "user_id": "23109086",
7 "is_anonymous": false
8 },
9 "meta": {
10 "selected_staff": "",
11 "ordering_store": null
12 },
13 "selected_staff": "",
14 "ordering_store": null,
15 "source": {},
16 "created_on": "2019-12-18T14:00:07.165Z"
17 },
18 "items": [
19 {
20 "key": "791651_6",
21 "identifiers": {},
22 "discount": "",
23 "bulk_offer": {},
24 "coupon_message": "",
25 "article": {
26 "type": "article",
27 "uid": "304_1054_9036_R1005753_6",
28 "size": "6",
29 "seller": {
30 "uid": 304,
31 "name": "LEAYAN GLOBAL PVT. LTD."
32 },
33 "store": {
34 "uid": 5322,
35 "name": "Vaisali Nagar"
36 },
37 "quantity": 1,
38 "price": {
39 "base": {
40 "marked": 2095,
41 "effective": 2095,
42 "currency_code": "INR"
43 },
44 "converted": {
45 "marked": 2095,
46 "effective": 2095,
47 "currency_code": "INR"
48 }
49 }
50 },
51 "charges": [
52 {
53 "type": "convenience fee",
54 "name": "convenience fee",
55 "code": "convenience fee",
56 "amount": {
57 "value": 10,
58 "currency": "INR"
59 },
60 "meta": {
61 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
62 "article_level_distribution": true
63 }
64 }
65 ],
66 "product": {
67 "type": "product",
68 "uid": 791651,
69 "name": "Black Running Shoes",
70 "slug": "furo-black-running-shoes-791651-f8bcc3",
71 "brand": {
72 "uid": 1054,
73 "name": "Furo"
74 },
75 "categories": [
76 {
77 "uid": 160,
78 "name": "Running Shoes"
79 }
80 ],
81 "images": [
82 {
83 "aspect_ratio": "16:25",
84 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg",
85 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg"
86 }
87 ],
88 "action": {
89 "type": "product",
90 "url": "https://api.addsale.com/platform/content/v1/products/furo-black-running-shoes-791651-f8bcc3/",
91 "query": {
92 "product_slug": [
93 "furo-black-running-shoes-791651-f8bcc3"
94 ]
95 }
96 }
97 },
98 "message": "",
99 "quantity": 1,
100 "availability": {
101 "sizes": [
102 "7",
103 "8",
104 "9",
105 "10",
106 "6"
107 ],
108 "other_store_quantity": 12,
109 "out_of_stock": false,
110 "deliverable": true,
111 "is_valid": true
112 },
113 "price": {
114 "base": {
115 "add_on": 2095,
116 "marked": 2095,
117 "effective": 2095,
118 "selling": 2095,
119 "currency_code": "INR"
120 },
121 "converted": {
122 "add_on": 2095,
123 "marked": 2095,
124 "effective": 2095,
125 "selling": 2095,
126 "currency_code": "INR"
127 }
128 }
129 },
130 {
131 "key": "791651_7",
132 "identifiers": {},
133 "discount": "",
134 "bulk_offer": {},
135 "coupon_message": "",
136 "article": {
137 "type": "article",
138 "uid": "304_1054_9036_R1005753_7",
139 "size": "7",
140 "seller": {
141 "uid": 304,
142 "name": "LEAYAN GLOBAL PVT. LTD."
143 },
144 "store": {
145 "uid": 5322,
146 "name": "Vaisali Nagar"
147 },
148 "quantity": 2,
149 "price": {
150 "base": {
151 "marked": 2095,
152 "effective": 2095,
153 "currency_code": "INR"
154 },
155 "converted": {
156 "marked": 2095,
157 "effective": 2095,
158 "currency_code": "INR"
159 }
160 }
161 },
162 "charges": [
163 {
164 "type": "convenience fee",
165 "name": "convenience fee",
166 "code": "convenience fee",
167 "amount": {
168 "value": 10,
169 "currency": "INR"
170 },
171 "meta": {
172 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
173 "article_level_distribution": true
174 }
175 }
176 ],
177 "product": {
178 "type": "product",
179 "uid": 791651,
180 "name": "Black Running Shoes",
181 "slug": "furo-black-running-shoes-791651-f8bcc3",
182 "brand": {
183 "uid": 1054,
184 "name": "Furo"
185 },
186 "categories": [
187 {
188 "uid": 160,
189 "name": "Running Shoes"
190 }
191 ],
192 "images": [
193 {
194 "aspect_ratio": "16:25",
195 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg",
196 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg"
197 }
198 ],
199 "action": {
200 "type": "product",
201 "url": "https://api.addsale.com/platform/content/v1/products/furo-black-running-shoes-791651-f8bcc3/",
202 "query": {
203 "product_slug": [
204 "furo-black-running-shoes-791651-f8bcc3"
205 ]
206 }
207 }
208 },
209 "message": "",
210 "quantity": 2,
211 "availability": {
212 "sizes": [
213 "7",
214 "8",
215 "9",
216 "10",
217 "6"
218 ],
219 "other_store_quantity": 7,
220 "out_of_stock": false,
221 "deliverable": true,
222 "is_valid": true
223 },
224 "price": {
225 "base": {
226 "add_on": 4190,
227 "marked": 4190,
228 "effective": 4190,
229 "selling": 4190,
230 "currency_code": "INR"
231 },
232 "converted": {
233 "add_on": 4190,
234 "marked": 4190,
235 "effective": 4190,
236 "selling": 4190,
237 "currency_code": "INR"
238 }
239 }
240 }
241 ],
242 "cart_id": 13055,
243 "uid": "13055",
244 "breakup_values": {
245 "raw": {
246 "cod_charge": 0,
247 "convenience_fee": 0,
248 "coupon": 0,
249 "delivery_charge": 0,
250 "store_credit": 0,
251 "discount": 0,
252 "fynd_cash": 0,
253 "gst_charges": 958.73,
254 "mrp_total": 6285,
255 "mop_total": 0,
256 "total_charge": 10,
257 "subtotal": 6285,
258 "total": 6285,
259 "vog": 5326.27,
260 "you_saved": 0
261 },
262 "loyalty_points": {
263 "total": 0,
264 "applicable": 0,
265 "is_applied": false,
266 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
267 },
268 "coupon": {
269 "type": "cash",
270 "code": "",
271 "uid": "",
272 "value": 0,
273 "is_applied": false,
274 "message": "Sorry! Invalid coupon"
275 },
276 "display": [
277 {
278 "display": "MRP Total",
279 "key": "mrp_total",
280 "value": 6285,
281 "currency_code": "INR"
282 },
283 {
284 "display": "Store Credit",
285 "key": "store_credit",
286 "value": 0,
287 "currency_code": "INR"
288 },
289 {
290 "display": "Subtotal",
291 "key": "subtotal",
292 "value": 6285,
293 "currency_code": "INR"
294 },
295 {
296 "display": "Total",
297 "key": "total",
298 "value": 6285,
299 "currency_code": "INR"
300 }
301 ]
302 },
303 "delivery_charge_info": "",
304 "coupon_text": "View all offers",
305 "gstin": "",
306 "comment": "",
307 "checkout_mode": "self",
308 "payment_selection_lock": {
309 "enabled": false,
310 "default_options": "COD",
311 "payment_identifier": ""
312 },
313 "restrict_checkout": false,
314 "is_valid": true,
315 "last_modified": "2020-03-09T00:00:00.000Z",
316 "custom_cart_meta": {
317 "test": "test"
318 }
319 },
320 "error": ""
321}
POST

Update with shared items

Merge or replace shared cart items with existing cart.
Parameters
token
string
Required
Token of the shared short link.
action
string
Required
Operation to perform on the existing cart merge or replace.
Enum
Response
200
Success. Returns a merged or replaced cart as per the valid token. Refer `SharedCartResult` for more details.
SharedCartResult
error
string
Error details if any error occurs which includes type of error, error code and error message.
cart
object (SharedCart)
SharedCart
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
cart_id
integer
| int32
Cart id of user cart for generating cart sharing token.
is_valid
boolean
Valid flag for get shared cart detail API.
id
string
Cart id of shared cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
uid
string
Cart id of the user cart.
delivery_charge_info
string
Delivery charge info message of the user cart.
message
string
Message of the get shared cart API response.
gstin
string
GSTIN added in user cart.
shared_cart_details
object (SharedCartDetails)
SharedCartDetails
token
string
Short link id of the user cart that needs to be shared.
user
object
User details of who generated share link.
created_on
string
| date-time
Created on timestamp of user cart.
source
object
Share link device and other source information.
meta
object
Meta data sent while generating share cart link.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of user cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of the applied coupon on user cart.
buy_now
boolean
Buy now flag of user cart.
custom_cart_meta
object
Custom cart meta of user cart added via update cart meta API.
Examples
Parameters
Parameters are not required.
POST
/service/application/cart/v1.0/share-cart/{token}/{action}
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/share-cart/{token}/{action}"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
Try it
Response
1{
2 "cart": {
3 "shared_cart_details": {
4 "token": "BQ9jySQ9",
5 "user": {
6 "user_id": "23109086",
7 "is_anonymous": false
8 },
9 "meta": {
10 "selected_staff": "",
11 "ordering_store": null
12 },
13 "selected_staff": "",
14 "ordering_store": null,
15 "source": {},
16 "created_on": "2019-12-18T14:00:07.165Z"
17 },
18 "items": [
19 {
20 "key": "791651_6",
21 "identifiers": {},
22 "discount": "",
23 "bulk_offer": {},
24 "coupon_message": "",
25 "article": {
26 "type": "article",
27 "uid": "304_1054_9036_R1005753_6",
28 "size": "6",
29 "seller": {
30 "uid": 304,
31 "name": "LEAYAN GLOBAL PVT. LTD."
32 },
33 "store": {
34 "uid": 5322,
35 "name": "Vaisali Nagar"
36 },
37 "quantity": 1,
38 "price": {
39 "base": {
40 "marked": 2095,
41 "effective": 2095,
42 "currency_code": "INR"
43 },
44 "converted": {
45 "marked": 2095,
46 "effective": 2095,
47 "currency_code": "INR"
48 }
49 }
50 },
51 "charges": [
52 {
53 "type": "convenience fee",
54 "name": "convenience fee",
55 "code": "convenience fee",
56 "amount": {
57 "value": 10,
58 "currency": "INR"
59 },
60 "meta": {
61 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
62 "article_level_distribution": true
63 }
64 }
65 ],
66 "product": {
67 "type": "product",
68 "uid": 791651,
69 "name": "Black Running Shoes",
70 "slug": "furo-black-running-shoes-791651-f8bcc3",
71 "brand": {
72 "uid": 1054,
73 "name": "Furo"
74 },
75 "categories": [
76 {
77 "uid": 160,
78 "name": "Running Shoes"
79 }
80 ],
81 "images": [
82 {
83 "aspect_ratio": "16:25",
84 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg",
85 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg"
86 }
87 ],
88 "action": {
89 "type": "product",
90 "url": "https://api.addsale.com/platform/content/v1/products/furo-black-running-shoes-791651-f8bcc3/",
91 "query": {
92 "product_slug": [
93 "furo-black-running-shoes-791651-f8bcc3"
94 ]
95 }
96 }
97 },
98 "message": "",
99 "quantity": 1,
100 "availability": {
101 "sizes": [
102 "7",
103 "8",
104 "9",
105 "10",
106 "6"
107 ],
108 "other_store_quantity": 12,
109 "out_of_stock": false,
110 "deliverable": true,
111 "is_valid": true
112 },
113 "price": {
114 "base": {
115 "add_on": 2095,
116 "marked": 2095,
117 "effective": 2095,
118 "selling": 2095,
119 "currency_code": "INR"
120 },
121 "converted": {
122 "add_on": 2095,
123 "marked": 2095,
124 "effective": 2095,
125 "selling": 2095,
126 "currency_code": "INR"
127 }
128 }
129 },
130 {
131 "key": "791651_7",
132 "identifiers": {},
133 "discount": "",
134 "bulk_offer": {},
135 "coupon_message": "",
136 "article": {
137 "type": "article",
138 "uid": "304_1054_9036_R1005753_7",
139 "size": "7",
140 "seller": {
141 "uid": 304,
142 "name": "LEAYAN GLOBAL PVT. LTD."
143 },
144 "store": {
145 "uid": 5322,
146 "name": "Vaisali Nagar"
147 },
148 "quantity": 2,
149 "price": {
150 "base": {
151 "marked": 2095,
152 "effective": 2095,
153 "currency_code": "INR"
154 },
155 "converted": {
156 "marked": 2095,
157 "effective": 2095,
158 "currency_code": "INR"
159 }
160 }
161 },
162 "charges": [
163 {
164 "type": "convenience fee",
165 "name": "convenience fee",
166 "code": "convenience fee",
167 "amount": {
168 "value": 10,
169 "currency": "INR"
170 },
171 "meta": {
172 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
173 "article_level_distribution": true
174 }
175 }
176 ],
177 "product": {
178 "type": "product",
179 "uid": 791651,
180 "name": "Black Running Shoes",
181 "slug": "furo-black-running-shoes-791651-f8bcc3",
182 "brand": {
183 "uid": 1054,
184 "name": "Furo"
185 },
186 "categories": [
187 {
188 "uid": 160,
189 "name": "Running Shoes"
190 }
191 ],
192 "images": [
193 {
194 "aspect_ratio": "16:25",
195 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg",
196 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/1054_R1005753/1_1546490507364.jpg"
197 }
198 ],
199 "action": {
200 "type": "product",
201 "url": "https://api.addsale.com/platform/content/v1/products/furo-black-running-shoes-791651-f8bcc3/",
202 "query": {
203 "product_slug": [
204 "furo-black-running-shoes-791651-f8bcc3"
205 ]
206 }
207 }
208 },
209 "message": "",
210 "quantity": 2,
211 "availability": {
212 "sizes": [
213 "7",
214 "8",
215 "9",
216 "10",
217 "6"
218 ],
219 "other_store_quantity": 7,
220 "out_of_stock": false,
221 "deliverable": true,
222 "is_valid": true
223 },
224 "price": {
225 "base": {
226 "add_on": 4190,
227 "marked": 4190,
228 "effective": 4190,
229 "selling": 4190,
230 "currency_code": "INR"
231 },
232 "converted": {
233 "add_on": 4190,
234 "marked": 4190,
235 "effective": 4190,
236 "selling": 4190,
237 "currency_code": "INR"
238 }
239 }
240 }
241 ],
242 "cart_id": 13055,
243 "uid": "13055",
244 "breakup_values": {
245 "raw": {
246 "cod_charge": 0,
247 "convenience_fee": 0,
248 "coupon": 0,
249 "delivery_charge": 0,
250 "store_credit": 0,
251 "discount": 0,
252 "fynd_cash": 0,
253 "gst_charges": 958.73,
254 "mrp_total": 6285,
255 "mop_total": 0,
256 "total_charge": 10,
257 "subtotal": 6285,
258 "total": 6285,
259 "vog": 5326.27,
260 "you_saved": 0
261 },
262 "loyalty_points": {
263 "total": 0,
264 "applicable": 0,
265 "is_applied": false,
266 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
267 },
268 "coupon": {
269 "type": "cash",
270 "code": "",
271 "uid": "",
272 "value": 0,
273 "is_applied": false,
274 "message": "Sorry! Invalid coupon"
275 },
276 "display": [
277 {
278 "display": "MRP Total",
279 "key": "mrp_total",
280 "value": 6285,
281 "currency_code": "INR"
282 },
283 {
284 "display": "Store Credit",
285 "key": "store_credit",
286 "value": 0,
287 "currency_code": "INR"
288 },
289 {
290 "display": "Subtotal",
291 "key": "subtotal",
292 "value": 6285,
293 "currency_code": "INR"
294 },
295 {
296 "display": "Total",
297 "key": "total",
298 "value": 6285,
299 "currency_code": "INR"
300 }
301 ]
302 },
303 "delivery_charge_info": "",
304 "coupon_text": "View all offers",
305 "gstin": "",
306 "comment": "",
307 "checkout_mode": "self",
308 "payment_selection_lock": {
309 "enabled": false,
310 "default_options": "COD",
311 "payment_identifier": ""
312 },
313 "restrict_checkout": false,
314 "is_valid": true,
315 "last_modified": "2020-03-09T00:00:00.000Z",
316 "custom_cart_meta": {
317 "test": "test"
318 }
319 }
320}

Checkout

Checkout refers to the final stage of the purchasing process where the customer completes their transaction by paying for the selected items and providing necessary shipping and payment information. During checkout, users review their cart contents, enter billing and shipping addresses, choose payment methods, and confirm their order. It's the pivotal moment when the transaction is finalized, and the goods are prepared for delivery to the customer's designated address.

Operations
POST
/service/application/cart/v2.0/checkout
# Checkout cart
POST

Checkout cart

The checkout cart initiates the order creation process based on the items in the user’s cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement.
Parameters
buy_now
boolean
This indicates the type of cart to checkout.
cart_type
string
The type of cart.
Request body
custom_meta
array of object (CartCheckoutCustomMeta)
Custom meta data to be added in order.
Array of CartCheckoutCustomMeta
key
string
Required
Key name of custom meta.
value
string
Required
Value to be added in key.
customer_details
object (CustomerDetails)
CustomerDetails
email
string
Email address of the customer to be added in customer detail while checkout.
mobile
string
Required
Mobile number of customer to be added in customer detail while checkout.
name
string
Name of customer to be added in customer detail while checkout.
merchant_code
string
Merchant code of the payment mode selected to do the payment.
cart_id
string
Cart id of the user cart.
id
string
Nullable
Cart id of the user cart.
payment_auto_confirm
boolean
Payment auto confirm flag if payment need not to be collected from user.
payment_methods
array of object (PaymentMethod)
Required
Payment methods list used to make the payment.
Array of PaymentMethod
payment_meta
object (PaymentMeta)
Required
PaymentMeta
merchant_code
string
Merchant code of the payment mode selected to do the payment.
type
string
Type of card if payment mode is card to do the payment.
payment_gateway
string
Payment gateway used to do the payment.
payment_identifier
string
Nullable
Payment identifier of the payment mode selected to do the payment.
mode
string
Required
Payment mode of payment method used to make payment.
payment
string
Payment name of payment method used to make payment.
amount
number
| float
Nullable
Amount of the payment mode to be paid.
name
string
Name of the payment mode used to make payment.
payment_extra_identifiers
object
Payment extra identifier for the payment mode to do the payment.
payment_mode
string
Required
Payment mode of the payment selected to do the payment.
aggregator
string
Aggregator of payment mode to do the payment.
address_id
string
Address id of the user where the order to be delivered.
callback_url
string
Nullable
Callback url after payment received/failed.
Default Value : null
delivery_address
object
Delivery address data which includes customer address, customer phone, customer email, customer pincode, customer landmark and customer name.
staff
object (StaffCheckout)
StaffCheckout
employee_code
string
Employee code of staff who does checkout on behalf of customer.
user
string
Required
User id of the employee who does checkout on behalf of customer.
last_name
string
Required
Last name of staff employee who does checkout on behalf of customer.
first_name
string
Required
First name of staff emplyee who does checkout on behalf of customer.
_id
string
Required
Id of staff who does checkout on behalf of customer.
order_type
string
Order type of the order being placed like pickAtStore or HomeDelivery.
Enum
ordering_store
integer
| int32
Nullable
Ordering store id of the store from which the order is getting placed.
extra_meta
object
Extra meta to be added while checkout in order.
payment_identifier
string
Nullable
Payment identifier of the payment mode selected to do the payment.
billing_address
object
Billing address json which includes customer address, customer phone, customer email, customer pincode, customer landmark and customer name.
payment_params
object
Nullable
Payment params which includes payment identifier and merchant code.
billing_address_id
string
Billing address id selected by user on which shipment bill to be generated.
meta
object
Meta data sent while checkout v2.
iin
string
Issuer Identification Number' number of card if payment mode is card to do the payment.
network
string
Network of card if payment mode is card to do the payment.
type
string
Type of cart if payment mode is card to do the payment.
card_id
string
Saved card id if payment mode is card to do the payment.
success_callback_url
string
Nullable
Success callback url to be redirected after payment received
failure_callback_url
string
Nullable
Failure callback url to be redirected after payment failed
Response
200
400
Success. Returns the status of cart checkout. Refer `CartCheckoutResultSchema` for more details.
CartCheckoutResult
payment_confirm_url
string
Payment confirm url used to redirect after payment is confirmed.
app_intercept_url
string
App intercept url which is used to redirect on app after payment in confirmed/failed.
success
boolean
Success flag of cart checkout API response.
callback_url
string
Callback url to be redirected after payment received/failed.
message
string
Message of the cart checkout v2 API response.
data
object
Data of the user cart checkout includes cart data, address, user id, order type etc.
order_id
string
Order id generated after placing order.
cart
object (CheckCart)
CheckCart
checkout_mode
string
Checkout mode of user cart.
user_type
string
User type of the cart who places the order.
cod_message
string
Cash On Delivery message for the order placed.
cart_id
integer
| int32
Cart id of the user cart for which the order placed.
is_valid
boolean
Valid flag fotr the checkout response if order placed was valid.
delivery_charges
number
| float
Delivery charges of the order placed via checkout API.
id
string
Cart id of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
error_message
string
Error details if any error occurs which includes type of error, error code and error message.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message added in cart after order placed.
items
array of object (CartProductInfo)
Items details in cart after order placed.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
uid
string
Cart id of user cart.
delivery_charge_order_value
integer
| int32
Delivery charge order value.
delivery_charge_info
string
Delivery charge in information message on shipment.
cod_available
boolean
Whether Cash On Delivery available.
success
boolean
Success flag of checkout cart API response.
store_code
string
Store code from which the order placed.
message
string
Message of the cart checkout API response.
gstin
string
GSTIN number added in cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
order_id
string
Order id generated after placing order.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
store_emps
array of object
Store employees data.
coupon_text
string
Coupon text of the applied coupon on order placed.
buy_now
boolean
Buy now flag of user cart.
cod_charges
number
| float
Cash On Delivery charges of the user cart.
custom_cart_meta
object
Custom cart meta details added in cart.
Examples
Parameters
Parameters are not required.
POST
/service/application/cart/v2.0/checkout
1curl -X POST "https://api.fynd.com/service/application/cart/v2.0/checkout"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "custom_meta": [
6 {
7 "key": "Custom Name",
8 "value": "Custom Value"
9 }
10 ],
11 "customer_details": {
12 "email": "value",
13 "mobile": "value",
14 "name": "value"
15 },
16 "merchant_code": "value",
17 "cart_id": "63c5224310feb3427a7dba4c",
18 "id": "value",
19 "payment_auto_confirm": false,
20 "payment_methods": [
21 {
22 "mode": "UDHARIWL",
23 "name": "UDHARI Wallet",
24 "amount": 50000,
25 "payment": "blocked",
26 "payment_meta": {
27 "merchant_code": "UDHARIWL",
28 "payment_gateway": "UDHARIExtension",
29 "payment_identifier": "BNPLWL",
30 "type": "extension"
31 }
32 },
33 {
34 "mode": "JIOPG",
35 "name": "JIOPG",
36 "payment": "required",
37 "payment_meta": {
38 "merchant_code": "JIOPG",
39 "payment_gateway": "Jio",
40 "payment_identifier": "JIOPG",
41 "type": "aggregator"
42 }
43 }
44 ],
45 "payment_mode": "Cash",
46 "aggregator": "value",
47 "address_id": "63bd128ef46211103683ab11",
48 "callback_url": "value",
49 "delivery_address": {},
50 "staff": {
51 "employee_code": "value",
52 "user": "value",
53 "last_name": "value",
54 "first_name": "value",
55 "_id": "value"
56 },
57 "order_type": "value",
58 "ordering_store": 1,
59 "extra_meta": {},
60 "payment_identifier": "value",
61 "billing_address": {},
62 "payment_params": {},
63 "billing_address_id": "63bd128ef46211103683ab11",
64 "meta": {},
65 "iin": "value",
66 "network": "value",
67 "type": "value",
68 "card_id": "value",
69 "success_callback_url": "value",
70 "failure_callback_url": "value"
71}'
Try it
Response
1{
2 "success": false,
3 "message": "No address found with address id {address_id}"
4}

Coupon

Coupons are promotional tools offered by businesses to customers, providing discounts, incentives, or special offers on purchases. Their aim is to attract customers, increase sales, encourage repeat purchases, and promote customer loyalty. Various types of coupons include: X Percentage Value: Offers a discount based on a percentage of the total purchase value. Example: Get 15% off your entire order. X Amount Value: Provides a fixed discount amount regardless of the total purchase value. Example: Save Rs.20 on your purchase. Bundle Percentage Discount: Discounts applied when purchasing a specific combination or quantity of items. Example: Buy 2 shirts and get 20% off each. Bundle Amount Percentage Discount: Similar to bundle percentage discount, but the discount is applied to a specific amount spent. Example: Spend Rs.100 on shoes and receive 25% off your entire order. Buy X Items Get Y Items Free: Offers a certain number of items for free when a specified quantity is purchased. Example: Buy 2 pairs of socks and get 1 pair free. Buy X Items at Absolute Amount: Allows customers to purchase a set number of items at a fixed price. Example: Buy 3 t-shirts for Rs. 250.

Operations
GET
/service/application/cart/v1.0/coupon
# List available coupons
POST
/service/application/cart/v1.0/coupon
# Apply coupon
DEL
/service/application/cart/v1.0/coupon
# Remove coupon
GET
/service/application/cart/v1.0/bulk-price
# List bulk discounts
GET
/service/application/cart/v1.0/payment/validate/
# Validate applied coupon
GET

List available coupons

List all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Whether to get buy_now cart.
slug
string
Product slug to fetch the available coupons.
store_id
string
Unique identifier of a store.
Response
200
Success. Returns a coupon object which has a list of all the eligible coupons. Refer `GetCouponResult` for more details.
GetCouponResult
page
object (PageCoupon)
PageCoupon
total_item_count
integer
| int32
Total coupons are available for the cart.
has_next
boolean
Denotes if next page of coupon is available.
total
integer
| int32
Total pages of coupon availalbe.
current
integer
| int32
Current page number.
has_previous
boolean
Denotes if previous page of the coupon is available.
available_coupon_list
array of object (Coupon)
List of available coupon which can be applied on cart.
Array of Coupon
coupon_amount
number
| float
The amount based on cart value.
coupon_value
number
| float
Coupon value of the coupon applied to cart.
title
string
Coupon Title of the coupon applied denotes name of the coupon.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
sub_title
string
Coupon subtitle of the coupon applied to cart which is used to display.
expires_on
string
Message to display to user for expiry of the coupon .
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
coupon_code
string
Coupon code of the coupon applied on cart.
is_applicable
boolean
Flag to determine where the coupon is applicable to cart or not.
description
string
Nullable
Coupon description of the coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
start_date
string
| date-time
Nullable
Start date of the coupon when the coupon will be live for the users to apply on cart.
end_date
string
| date-time
Nullable
End date of the coupon on which the coupon expires.
coupon_applicable_message
string
Message which is used to display to the customer if the coupon is applied successfully.
offer_text
string
Offer text of the coupon which highligts coupon offer defined while creating coupon .
is_bank_offer
boolean
Bank offer flag for the coupon if the coupon is applicable for only if payment done by bank or mode specified in coupon.
Examples
Parameters
id:
"value"
buy_now:
false
slug:
"value"
store_id:
"value"
GET
/service/application/cart/v1.0/coupon
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/coupon"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "available_coupon_list": [
3 {
4 "coupon_value": 500,
5 "coupon_amount": 43.5,
6 "minimum_cart_value": 0,
7 "coupon_code": "RAJA500",
8 "title": "RAJA500 | Fynd coupon",
9 "sub_title": "NA",
10 "message": "TEST500",
11 "max_discount_value": 500,
12 "uid": 17921,
13 "is_applicable": true,
14 "is_applied": false,
15 "expires_on": "28 Aug, 19"
16 },
17 {
18 "coupon_value": 2250,
19 "coupon_amount": 43.5,
20 "minimum_cart_value": 0,
21 "coupon_code": "PRISMC22250111",
22 "title": "celio 2 time coupn to kalim hsp",
23 "sub_title": "celio 2 time coupn to kalim hsp",
24 "message": "celio 2 time coupn to kalim hsp",
25 "max_discount_value": 2250,
26 "uid": 17743,
27 "is_applicable": true,
28 "is_applied": false,
29 "expires_on": "24 Jan, 20"
30 }
31 ],
32 "page": {
33 "current": 1,
34 "total": 0,
35 "has_previous": false,
36 "has_next": false,
37 "total_item_count": 0
38 }
39}
POST

Apply coupon

Apply a coupon code to the cart to trigger discounts on eligible items.
Parameters
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
p
boolean
Select `true` for getting a payment option in response.
id
string
The unique identifier of the cart.
buy_now
boolean
This is boolean to get buy_now cart.
cart_type
string
The type of cart.
Request body
coupon_code
string
Required
Coupon code to be applied.
Response
201
Success. Returns coupons applied to the cart along with item details and price breakup. Refer `CartDetailResult` for more details.
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
i:
false
b:
false
p:
false
id:
"value"
buy_now:
false
cart_type:
"value"
body:
body
POST
/service/application/cart/v1.0/coupon
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/coupon"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "coupon_code": "armr499"
6}'
Try it
Response
1{
2 "breakup_values": {
3 "raw": {
4 "cod_charge": 0,
5 "convenience_fee": 0,
6 "coupon": -2250,
7 "delivery_charge": 0,
8 "store_credit": 0,
9 "discount": -7240.2163,
10 "fynd_cash": 0,
11 "gst_charges": 2139.08,
12 "mrp_total": 26983,
13 "mop_total": 0,
14 "total_charge": 10,
15 "subtotal": 19742.7837,
16 "total": 17492.7837,
17 "vog": 15353.7,
18 "you_saved": 0
19 },
20 "coupon": {
21 "type": "cash",
22 "coupon_type": "percentage",
23 "code": "PRISMC22250111",
24 "uid": "17743",
25 "value": 2250,
26 "is_applied": true,
27 "message": "coupn applied",
28 "title": "Only Test Coupon",
29 "sub_title": "TEST",
30 "description": "",
31 "minimum_cart_value": 100,
32 "maximum_discount_value": 100000,
33 "coupon_value": 10
34 },
35 "loyalty_points": {
36 "total": 0,
37 "applicable": 0,
38 "is_applied": false,
39 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
40 },
41 "display": [
42 {
43 "display": "MRP Total",
44 "key": "mrp_total",
45 "value": 26983,
46 "currency_code": "INR"
47 },
48 {
49 "display": "Store Credit",
50 "key": "store_credit",
51 "value": 0,
52 "currency_code": "INR"
53 },
54 {
55 "display": "Discount",
56 "key": "discount",
57 "value": -7240,
58 "currency_code": "INR"
59 },
60 {
61 "display": "Subtotal",
62 "key": "subtotal",
63 "value": 19743,
64 "currency_code": "INR"
65 },
66 {
67 "display": "Coupon",
68 "key": "coupon",
69 "value": -2250,
70 "currency_code": "INR"
71 },
72 {
73 "display": "Total",
74 "key": "total",
75 "value": 17493,
76 "currency_code": "INR"
77 }
78 ]
79 },
80 "items": [
81 {
82 "identifiers": {},
83 "availability": {
84 "sizes": [
85 "10"
86 ],
87 "other_store_quantity": 0,
88 "out_of_stock": false,
89 "deliverable": true,
90 "is_valid": true
91 },
92 "product": {
93 "type": "product",
94 "uid": 751083,
95 "name": "Carson 2",
96 "slug": "puma-carson-2-751083-6ad98d",
97 "brand": {
98 "uid": 9,
99 "name": "Puma"
100 },
101 "categories": [
102 {
103 "uid": 165,
104 "name": "Outdoor Sports Shoes"
105 }
106 ],
107 "images": [
108 {
109 "aspect_ratio": "16:25",
110 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/9_19100302/1_1542807042296.jpg",
111 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/9_19100302/1_1542807042296.jpg"
112 }
113 ],
114 "action": {
115 "type": "product",
116 "url": "https://api.addsale.com/platform/content/v1/products/puma-carson-2-751083-6ad98d/",
117 "query": {
118 "product_slug": [
119 "puma-carson-2-751083-6ad98d"
120 ]
121 }
122 }
123 },
124 "quantity": 4,
125 "discount": "41% OFF",
126 "price": {
127 "base": {
128 "add_on": 9596,
129 "marked": 15996,
130 "effective": 9596,
131 "selling": 9596,
132 "currency_code": "INR"
133 },
134 "converted": {
135 "add_on": 9596,
136 "marked": 15996,
137 "effective": 9596,
138 "selling": 9596,
139 "currency_code": "INR"
140 }
141 },
142 "message": "",
143 "bulk_offer": {},
144 "key": "751083_10",
145 "coupon_message": "",
146 "article": {
147 "type": "article",
148 "uid": "612_9_SE61201_19100302_10",
149 "size": "10",
150 "seller": {
151 "uid": 612,
152 "name": "SSR ENTERPRISE"
153 },
154 "store": {
155 "uid": 4431,
156 "name": "Motilal Nagar 1, Goregaon"
157 },
158 "quantity": 4,
159 "price": {
160 "base": {
161 "marked": 3999,
162 "effective": 2399,
163 "currency_code": "INR"
164 },
165 "converted": {
166 "marked": 3999,
167 "effective": 2399,
168 "currency_code": "INR"
169 }
170 }
171 },
172 "charges": [
173 {
174 "type": "convenience fee",
175 "name": "convenience fee",
176 "code": "convenience fee",
177 "amount": {
178 "value": 10,
179 "currency": "INR"
180 },
181 "meta": {
182 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
183 "article_level_distribution": true
184 }
185 }
186 ]
187 },
188 {
189 "identifiers": {},
190 "availability": {
191 "sizes": [
192 "L",
193 "M",
194 "S",
195 "XL",
196 "XXL"
197 ],
198 "other_store_quantity": 0,
199 "out_of_stock": false,
200 "deliverable": true,
201 "is_valid": true
202 },
203 "product": {
204 "type": "product",
205 "uid": 246228,
206 "name": "Blue Solid T-Shirt",
207 "slug": "superdry-blue-solid-t-shirt-2",
208 "brand": {
209 "uid": 235,
210 "name": "Superdry"
211 },
212 "categories": [
213 {
214 "uid": 192,
215 "name": "T-Shirts"
216 }
217 ],
218 "images": [
219 {
220 "aspect_ratio": "16:25",
221 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/235_M11029ONDSXNS/1.jpg",
222 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/235_M11029ONDSXNS/1.jpg"
223 }
224 ],
225 "action": {
226 "type": "product",
227 "url": "https://api.addsale.com/platform/content/v1/products/superdry-blue-solid-t-shirt-2/",
228 "query": {
229 "product_slug": [
230 "superdry-blue-solid-t-shirt-2"
231 ]
232 }
233 }
234 },
235 "quantity": 1,
236 "discount": "",
237 "price": {
238 "base": {
239 "add_on": 4490,
240 "marked": 4490,
241 "effective": 4490,
242 "selling": 4490,
243 "currency_code": "INR"
244 },
245 "converted": {
246 "add_on": 4490,
247 "marked": 4490,
248 "effective": 4490,
249 "selling": 4490,
250 "currency_code": "INR"
251 }
252 },
253 "message": "",
254 "bulk_offer": {},
255 "key": "246228_S",
256 "coupon_message": "",
257 "article": {
258 "type": "article",
259 "uid": "46_235_TM62_M11029ONDSXNS_S",
260 "size": "S",
261 "seller": {
262 "uid": 46,
263 "name": "RELIANCE BRANDS LIMITED"
264 },
265 "store": {
266 "uid": 4550,
267 "name": "VR Mall"
268 },
269 "quantity": 1,
270 "price": {
271 "base": {
272 "marked": 4490,
273 "effective": 4490,
274 "currency_code": "INR"
275 },
276 "converted": {
277 "marked": 4490,
278 "effective": 4490,
279 "currency_code": "INR"
280 }
281 }
282 },
283 "charges": [
284 {
285 "type": "convenience fee",
286 "name": "convenience fee",
287 "code": "convenience fee",
288 "amount": {
289 "value": 10,
290 "currency": "INR"
291 },
292 "meta": {
293 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
294 "article_level_distribution": true
295 }
296 }
297 ]
298 },
299 {
300 "identifiers": {},
301 "availability": {
302 "sizes": [
303 "XL",
304 "M",
305 "L",
306 "S"
307 ],
308 "other_store_quantity": 8,
309 "out_of_stock": false,
310 "deliverable": true,
311 "is_valid": true
312 },
313 "product": {
314 "type": "product",
315 "uid": 443175,
316 "name": "Light Blue Denim Jeggings",
317 "slug": "go-colors-light-blue-denim-jeggings-443175-3c688c",
318 "brand": {
319 "uid": 207,
320 "name": "Go Colors"
321 },
322 "categories": [
323 {
324 "uid": 267,
325 "name": "Jeggings"
326 }
327 ],
328 "images": [
329 {
330 "aspect_ratio": "16:25",
331 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/207_LJ03LBLUDN88/1_1512382513548.jpg",
332 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/207_LJ03LBLUDN88/1_1512382513548.jpg"
333 }
334 ],
335 "action": {
336 "type": "product",
337 "url": "https://api.addsale.com/platform/content/v1/products/go-colors-light-blue-denim-jeggings-443175-3c688c/",
338 "query": {
339 "product_slug": [
340 "go-colors-light-blue-denim-jeggings-443175-3c688c"
341 ]
342 }
343 }
344 },
345 "quantity": 1,
346 "discount": "",
347 "price": {
348 "base": {
349 "add_on": 1599,
350 "marked": 1599,
351 "effective": 1599,
352 "selling": 1599,
353 "currency_code": "INR"
354 },
355 "converted": {
356 "add_on": 1599,
357 "marked": 1599,
358 "effective": 1599,
359 "selling": 1599,
360 "currency_code": "INR"
361 }
362 },
363 "message": "",
364 "bulk_offer": {},
365 "key": "443175_S",
366 "coupon_message": "",
367 "article": {
368 "type": "article",
369 "uid": "162_207_1271_LJ03LBLUDN88_S",
370 "size": "S",
371 "seller": {
372 "uid": 162,
373 "name": "GO FASHION INDIA PRIVATE LIMITED"
374 },
375 "store": {
376 "uid": 5784,
377 "name": "Vega City mall"
378 },
379 "quantity": 3,
380 "price": {
381 "base": {
382 "marked": 1599,
383 "effective": 1599,
384 "currency_code": "INR"
385 },
386 "converted": {
387 "marked": 1599,
388 "effective": 1599,
389 "currency_code": "INR"
390 }
391 }
392 },
393 "charges": [
394 {
395 "type": "convenience fee",
396 "name": "convenience fee",
397 "code": "convenience fee",
398 "amount": {
399 "value": 10,
400 "currency": "INR"
401 },
402 "meta": {
403 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
404 "article_level_distribution": true
405 }
406 }
407 ]
408 },
409 {
410 "identifiers": {},
411 "availability": {
412 "sizes": [
413 "OS"
414 ],
415 "other_store_quantity": 12,
416 "out_of_stock": false,
417 "deliverable": true,
418 "is_valid": true
419 },
420 "product": {
421 "type": "product",
422 "uid": 842716,
423 "name": "Blue Backpack",
424 "slug": "istorm-blue-backpack-842716-951b5a",
425 "brand": {
426 "uid": 1177,
427 "name": "iStorm"
428 },
429 "categories": [
430 {
431 "uid": 198,
432 "name": "Backpacks"
433 }
434 ],
435 "images": [
436 {
437 "aspect_ratio": "16:25",
438 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/1177_IS483/1_1551353288247.jpg",
439 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/1177_IS483/1_1551353288247.jpg"
440 }
441 ],
442 "action": {
443 "type": "product",
444 "url": "https://api.addsale.com/platform/content/v1/products/istorm-blue-backpack-842716-951b5a/",
445 "query": {
446 "product_slug": [
447 "istorm-blue-backpack-842716-951b5a"
448 ]
449 }
450 }
451 },
452 "quantity": 1,
453 "discount": "34% OFF",
454 "price": {
455 "base": {
456 "add_on": 998.7837,
457 "marked": 1499,
458 "effective": 998.7837,
459 "selling": 998.7837,
460 "currency_code": "INR"
461 },
462 "converted": {
463 "add_on": 998.7837,
464 "marked": 1499,
465 "effective": 998.7837,
466 "selling": 998.7837,
467 "currency_code": "INR"
468 }
469 },
470 "message": "",
471 "bulk_offer": {},
472 "key": "842716_OS",
473 "coupon_message": "",
474 "article": {
475 "type": "article",
476 "uid": "638_1177_CRSL63802_IS483_OS",
477 "size": "OS",
478 "seller": {
479 "uid": 638,
480 "name": "COUNFREEDISE RETAIL SERVICES LTD"
481 },
482 "store": {
483 "uid": 4630,
484 "name": "Bhiwandi"
485 },
486 "quantity": 4,
487 "price": {
488 "base": {
489 "marked": 1499,
490 "effective": 998.7837,
491 "currency_code": "INR"
492 },
493 "converted": {
494 "marked": 1499,
495 "effective": 998.7837,
496 "currency_code": "INR"
497 }
498 }
499 },
500 "charges": [
501 {
502 "type": "convenience fee",
503 "name": "convenience fee",
504 "code": "convenience fee",
505 "amount": {
506 "value": 10,
507 "currency": "INR"
508 },
509 "meta": {
510 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
511 "article_level_distribution": true
512 }
513 }
514 ]
515 },
516 {
517 "identifiers": {},
518 "availability": {
519 "sizes": [
520 "OS"
521 ],
522 "other_store_quantity": 2,
523 "out_of_stock": false,
524 "deliverable": true,
525 "is_valid": true
526 },
527 "product": {
528 "type": "product",
529 "uid": 778937,
530 "name": "Colourful Carnival Bouncer",
531 "slug": "fisher-price-colourful-carnival-bouncer-778937-fafa1f",
532 "brand": {
533 "uid": 963,
534 "name": "Fisher-Price"
535 },
536 "categories": [
537 {
538 "uid": 576,
539 "name": "Cradles"
540 }
541 ],
542 "images": [
543 {
544 "aspect_ratio": "16:25",
545 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/963_PWUPC01977/1_1545308400588.jpg",
546 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/963_PWUPC01977/1_1545308400588.jpg"
547 }
548 ],
549 "action": {
550 "type": "product",
551 "url": "https://api.addsale.com/platform/content/v1/products/fisher-price-colourful-carnival-bouncer-778937-fafa1f/",
552 "query": {
553 "product_slug": [
554 "fisher-price-colourful-carnival-bouncer-778937-fafa1f"
555 ]
556 }
557 }
558 },
559 "quantity": 1,
560 "discount": "11% OFF",
561 "price": {
562 "base": {
563 "add_on": 3059,
564 "marked": 3399,
565 "effective": 3059,
566 "selling": 3059,
567 "currency_code": "INR"
568 },
569 "converted": {
570 "add_on": 3059,
571 "marked": 3399,
572 "effective": 3059,
573 "selling": 3059,
574 "currency_code": "INR"
575 }
576 },
577 "message": "",
578 "bulk_offer": {},
579 "key": "778937_OS",
580 "coupon_message": "",
581 "article": {
582 "type": "article",
583 "uid": "686_963_IC68601_PWUPC01977_OS",
584 "size": "OS",
585 "seller": {
586 "uid": 686,
587 "name": "INDUS CORPORATION"
588 },
589 "store": {
590 "uid": 5059,
591 "name": "Vidyaranyapura Main Road"
592 },
593 "quantity": 3,
594 "price": {
595 "base": {
596 "marked": 3399,
597 "effective": 3059,
598 "currency_code": "INR"
599 },
600 "converted": {
601 "marked": 3399,
602 "effective": 3059,
603 "currency_code": "INR"
604 }
605 }
606 },
607 "charges": [
608 {
609 "type": "convenience fee",
610 "name": "convenience fee",
611 "code": "convenience fee",
612 "amount": {
613 "value": 10,
614 "currency": "INR"
615 },
616 "meta": {
617 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
618 "article_level_distribution": true
619 }
620 }
621 ]
622 }
623 ],
624 "delivery_charge_info": "",
625 "coupon_text": "View all offers",
626 "buy_now": false,
627 "cart_id": 7927,
628 "uid": "7927",
629 "gstin": "",
630 "checkout_mode": "self",
631 "last_modified": "2020-03-09T00:00:00.000Z",
632 "restrict_checkout": false,
633 "is_valid": true,
634 "custom_cart_meta": {
635 "test": "test"
636 }
637}
DEL

Remove coupon

Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Wheter to get buy_now cart.
Response
200
Success. Returns coupons removed from the cart along with item details and price breakup. Refer `CartDetailResult` for more details.
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
id:
"value"
buy_now:
false
DEL
/service/application/cart/v1.0/coupon
1curl -X DELETE "https://api.fynd.com/service/application/cart/v1.0/coupon"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "breakup_values": {
3 "raw": {
4 "cod_charge": 0,
5 "convenience_fee": 0,
6 "coupon": 0,
7 "delivery_charge": 0,
8 "discount": 0,
9 "fynd_cash": 0,
10 "store_credit": 0,
11 "gst_charges": 342.75,
12 "mrp_total": 3199,
13 "mop_total": 0,
14 "total_charge": 10,
15 "subtotal": 3199,
16 "total": 3199,
17 "vog": 2856.25,
18 "you_saved": 0
19 },
20 "coupon": {
21 "type": "cash",
22 "code": "prismc22250111",
23 "uid": "17743",
24 "value": 0,
25 "is_applied": false,
26 "message": "Coupon successfully removed"
27 },
28 "display": [
29 {
30 "display": "MRP Total",
31 "key": "mrp_total",
32 "value": 3199,
33 "currency_code": "INR"
34 },
35 {
36 "display": "Store Credit",
37 "key": "store_credit",
38 "value": 0,
39 "currency_code": "INR"
40 },
41 {
42 "display": "Subtotal",
43 "key": "subtotal",
44 "value": 3199,
45 "currency_code": "INR"
46 },
47 {
48 "display": "Total",
49 "key": "total",
50 "value": 3199,
51 "currency_code": "INR"
52 }
53 ],
54 "loyalty_points": {
55 "total": 0,
56 "applicable": 0,
57 "is_applied": false,
58 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
59 }
60 },
61 "items": [
62 {
63 "message": "",
64 "identifiers": {},
65 "availability": {
66 "sizes": [
67 "M",
68 "S",
69 "L",
70 "XXL",
71 "XL"
72 ],
73 "other_store_quantity": 10,
74 "out_of_stock": false,
75 "deliverable": true,
76 "is_valid": true
77 },
78 "bulk_offer": {},
79 "key": "857596_S",
80 "quantity": 1,
81 "price": {
82 "base": {
83 "add_on": 3199,
84 "marked": 3199,
85 "effective": 3199,
86 "selling": 3199,
87 "currency_code": "INR"
88 },
89 "converted": {
90 "add_on": 3199,
91 "marked": 3199,
92 "effective": 3199,
93 "selling": 3199,
94 "currency_code": "INR"
95 }
96 },
97 "discount": "",
98 "coupon_message": "",
99 "product": {
100 "type": "product",
101 "uid": 857596,
102 "name": "Pink Solid Hoodie",
103 "slug": "883-police-pink-solid-hoodie-857596-111bdc",
104 "brand": {
105 "uid": 610,
106 "name": "883 Police"
107 },
108 "categories": [
109 {
110 "uid": 144,
111 "name": "Hoodies"
112 }
113 ],
114 "images": [
115 {
116 "aspect_ratio": "16:25",
117 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg",
118 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg"
119 }
120 ],
121 "action": {
122 "type": "product",
123 "url": "https://api.addsale.com/platform/content/v1/products/883-police-pink-solid-hoodie-857596-111bdc/",
124 "query": {
125 "product_slug": [
126 "883-police-pink-solid-hoodie-857596-111bdc"
127 ]
128 }
129 }
130 },
131 "article": {
132 "type": "article",
133 "uid": "381_610_IGPL01_LETTER19APINK_S",
134 "size": "S",
135 "seller": {
136 "uid": 381,
137 "name": "INTERSOURCE GARMENTS PVT LTD"
138 },
139 "store": {
140 "uid": 3009,
141 "name": "Kormangala"
142 },
143 "quantity": 11,
144 "price": {
145 "base": {
146 "marked": 3199,
147 "effective": 3199,
148 "currency_code": "INR"
149 },
150 "converted": {
151 "marked": 3199,
152 "effective": 3199,
153 "currency_code": "INR"
154 }
155 }
156 },
157 "charges": [
158 {
159 "type": "convenience fee",
160 "name": "convenience fee",
161 "code": "convenience fee",
162 "amount": {
163 "value": 10,
164 "currency": "INR"
165 },
166 "meta": {
167 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
168 "article_level_distribution": true
169 }
170 }
171 ]
172 }
173 ],
174 "delivery_charge_info": "",
175 "coupon_text": "View all offers",
176 "buy_now": false,
177 "cart_id": 7477,
178 "uid": "7477",
179 "gstin": "",
180 "checkout_mode": "self",
181 "last_modified": "2020-03-09T00:00:00.000Z",
182 "restrict_checkout": false,
183 "is_valid": true,
184 "custom_cart_meta": {
185 "test": "test"
186 }
187}
GET

List bulk discounts

List offer discounts with information about quantity and seller. One offer is marked with a "best" flag, indicating it as the best offer among the list.
Parameters
item_id
integer
The Item ID of the product.
article_id
string
Article Mongo ID.
uid
integer
UID of the product.
slug
string
A short, human-readable, URL-friendly identifier of a product.
Response
200
Success. Returns a data object containing the seller details and available offers (if exists) on bulk products. Refer `BulkPriceResult` for more details.
BulkPriceResult
data
array of object (BulkPriceOffer)
Actual data to be in response consist of offers from multiple seller.
Array of BulkPriceOffer
offers
array of object (OfferItem)
Offers is the list of Offer item, which consists of margin percentage, price, quantity, offer type and offer price.
Array of OfferItem
price
object (OfferPrice)
OfferPrice
currency_symbol
string
Currency symbol for currency.
bulk_effective
number
| float
Discounted per unit price for current offer object.
currency_code
string
The currency code for an offer price is the three-letter code that corresponds to the currency in which the offer price is denominated.
effective
integer
| int32
The "effective price" is the actual price paid by the consumer after accounting for product discounts. It represents the true cost of a product or service after all adjustments have been made.
marked
integer
| int32
The price at which the product is sold to the end consumer, typically the original price before discounts.
margin
integer
| int32
Percentage value of discount.
quantity
integer
| int32
Quantity on which offer is applicable.
best
boolean
Is true for best offer from all offers present for all sellers.
total
number
| float
Total price of offer quantity with discount.
auto_applied
boolean
Whether offer discount is auto applied in cart.
type
string
Type of the offer.
seller
object (OfferSeller)
OfferSeller
uid
integer
| int32
Unique identifier for a seller.
name
string
Name of a seller.
Examples
Parameters
Parameters are not required.
GET
/service/application/cart/v1.0/bulk-price
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/bulk-price"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "data": [
3 {
4 "seller": {
5 "uid": 248,
6 "name": "MANYAVAR CREATIONS PRIVATE LIMITED"
7 },
8 "offers": [
9 {
10 "quantity": 1,
11 "auto_applied": true,
12 "margin": 10,
13 "type": "bundle",
14 "price": {
15 "marked": 3999,
16 "effective": 3999,
17 "bulk_effective": 3599.1,
18 "currency_code": "INR"
19 },
20 "total": 3599.1
21 },
22 {
23 "quantity": 3,
24 "auto_applied": true,
25 "margin": 20,
26 "type": "bundle",
27 "price": {
28 "marked": 3999,
29 "effective": 3999,
30 "bulk_effective": 3199.2,
31 "currency_code": "INR"
32 },
33 "total": 9597.6
34 },
35 {
36 "quantity": 9,
37 "auto_applied": true,
38 "margin": 30,
39 "type": "bundle",
40 "price": {
41 "marked": 3999,
42 "effective": 3999,
43 "bulk_effective": 3443.4444444444,
44 "currency_code": "INR"
45 },
46 "total": 30991,
47 "best": true
48 }
49 ]
50 }
51 ]
52}
GET

Validate applied coupon

Validate the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Whether to get buy_now cart.
address_id
string
ID allotted to an address.
payment_mode
string
Payment mode selected by the customer.
payment_identifier
string
Identifier of payment like ICIC, PAYTM.
aggregator_name
string
Payment gateway identifier.
merchant_code
string
Identifier used by payment gateway for a given payment mode, e.g. NB_ICIC, PAYTM.
iin
string
Debit/Credit card prefix (first 6 digit).
network
string
Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY.
type
string
Card type, e.g. Credit, Debit.
card_id
string
Saved card token reference id.
cart_type
string
Type of the cart.
Response
200
Success. Returns a success message and the coupon validity. Refer `PaymentCouponValidate` for more details.
PaymentCouponValidate
message
string
Payment mode valid message for coupon.
coupon_validity
object (CouponValidity)
CouponValidity
title
string
Coupon Title of the coupon applied.
discount
number
| float
Coupon discount value of the coupon applied.
next_validation_required
boolean
Nullable
Flag for coupon validation required on next page or not.
valid
boolean
Valid flag which denotes if the applied coupon is valid or not.
display_message_en
string
Nullable
Display message for coupon validity.
code
string
Nullable
Coupon code of the coupon applied.
error_en
string
Nullable
Error message for the selected payment mode.
success
boolean
Success flag of coupon payment mode validity API response.
Examples
Parameters
id:
"value"
buy_now:
false
address_id:
"value"
payment_mode:
"value"
payment_identifier:
"value"
aggregator_name:
"value"
merchant_code:
"value"
iin:
"value"
network:
"value"
type:
"value"
card_id:
"value"
cart_type:
"value"
GET
/service/application/cart/v1.0/payment/validate/
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/payment/validate/"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "success": true,
3 "message": "",
4 "coupon_validity": {
5 "valid": true,
6 "discount": 499.5,
7 "code": "testpayment",
8 "display_message_en": "",
9 "title": "Coupon value will change.",
10 "next_validation_required": false
11 }
12}

Customer address

A customer's address refers to the address where the ordered product is to be delivered. It usually includes details such as the recipient's name, contact, street address, city, state or province, PIN code or ZIP code, and country. Each customer can have multiple addresses associated with them. Storing addresses includes validating the address based on the country and its unique identifiers like PIN code, ZIP code, or area code,

Operations
GET
/service/application/cart/v1.0/address
# Get a list of addresses for a customer
POST
/service/application/cart/v1.0/address
# Creates a new address for a customer
GET
/service/application/cart/v1.0/address/{id}
# Get details for a single customer address
PUT
/service/application/cart/v1.0/address/{id}
# Updates an existing customer address
DEL
/service/application/cart/v1.0/address/{id}
# Removes an address from a customer's address list
POST
/service/application/cart/v1.0/select-address
# Select customer address for order processing
GET

Get a list of addresses for a customer

List all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery.
Parameters
cart_id
string
The unique identifier of the user cart.
buy_now
boolean
Whether to get buy_now cart.
mobile_no
string
Mobile number of the customer.
checkout_mode
string
Option to checkout for self or for others.
tags
string
Tag given to an address, e.g. work, home, office, shop.
is_default
boolean
Select `true` to fetch the default address.
Response
200
Success. Returns an Address object containing a list of address saved in the account. Refer `GetAddressesResult` for more details.
GetAddressesResult
pii_masking
boolean
Personally Identifiable Information masking flag to denote if the user data in address is masked or not.
address
array of object (Address)
Address description for address data.
Array of Address
country_iso_code
string
Country iso code for address.
area
string
Area description for address.
phone
string
Phone number for address.
country_phone_code
string
Country phone code for address.
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
address
string
Address description for address data.
area_code_slug
string
Area code slug for address. example pincode is slug for India.
geo_location
object (GeoLocation)
GeoLocation
latitude
number
| float
Latitude coordinate for address.
Default Value : 0
longitude
number
| float
Longitude coordinate for address.
Default Value : 0
id
string
Id of the address.
_custom_json
object
Custom json of the address.
city
string
City of the address.
sector
string
Sector of the address.
state_code
string
State code for address.
created_by_user_id
string
Created by user id of address.
landmark
string
Landmark of address.
user_id
string
User id of address for which address is created.
name
string
Name of person in address data to whom it belongs to.
google_map_point
object
Google map point of the address.
is_active
boolean
States whether address is active or not.
tags
array of string
Tags of address from which it can be identified.
country_code
string
Country code of address.
address_type
string
Address type of address.
country
string
Country of address.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
area_code
string
Area code of the address.
email
string
Email address for address data.
state
string
State of the address.
meta
object
Metadata of the address.
validation_config
object (ValidationConfig)
ValidationConfig
address_max_limit
integer
| int32
The maximum number of addresses a user can have.
user_address_count
integer
| int32
The total number of addresses saved by a user.
Examples
Parameters
Parameters are not required.
GET
/service/application/cart/v1.0/address
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/address"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "validation_config": {
3 "user_address_count": 5,
4 "address_max_limit": 20
5 },
6 "address": [
7 {
8 "landmark": "",
9 "area_code": "8b526f521bb14a2593a8b9e3ce8c76b3",
10 "id": "8b526f521bb14a2593a8b9e3ce8c76b3",
11 "state": "Maharashtra",
12 "meta": {},
13 "user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
14 "created_by_user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
15 "country_code": "+91",
16 "country_phone_code": "91",
17 "country_iso_code": "IN",
18 "phone": "9915347757",
19 "geo_location": {},
20 "country": "India",
21 "is_default_address": true,
22 "is_active": true,
23 "city": "Mumbai",
24 "pincode": 400093,
25 "checkout_mode": "self",
26 "address_type": "home",
27 "tags": [],
28 "area": "Sector 127",
29 "state_code": "MH",
30 "name": "abc",
31 "email": "ankur@gofynd1.com",
32 "address": "Megatron2",
33 "_custom_json": {}
34 }
35 ]
36}
POST

Creates a new address for a customer

Add a new address to their cart to save details such as name, email, contact information, and address.
Parameters
No Parameters
Request body
country_iso_code
string
Country iso code for address.
area
string
Area description for address.
phone
string
Phone number for address.
country_phone_code
string
Country phone code for address.
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
address
string
Address description for address data.
area_code_slug
string
Area code slug for address. example pincode is slug for India.
geo_location
object (GeoLocation)
GeoLocation
latitude
number
| float
Latitude coordinate for address.
Default Value : 0
longitude
number
| float
Longitude coordinate for address.
Default Value : 0
id
string
Id of the address.
_custom_json
object
Custom json of the address.
city
string
City of the address.
sector
string
Sector of the address.
state_code
string
State code for address.
created_by_user_id
string
Created by user id of address.
landmark
string
Landmark of address.
user_id
string
User id of address for which address is created.
name
string
Name of person in address data to whom it belongs to.
google_map_point
object
Google map point of the address.
is_active
boolean
States whether address is active or not.
tags
array of string
Tags of address from which it can be identified.
country_code
string
Country code of address.
address_type
string
Address type of address.
country
string
Country of address.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
area_code
string
Area code of the address.
email
string
Email address for address data.
state
string
State of the address.
meta
object
Metadata of the address.
Response
200
422
Success. Returns the address ID, a flag whether the address is set as default, and a success message. Refer `SaveAddressResult` for more details.
SaveAddressResult
id
string
Id of the address.
success
boolean
Success flag of save address Result.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
Examples
Parameters
Parameters are not required.
POST
/service/application/cart/v1.0/address
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/address"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "country_iso_code": "IND",
6 "area": "Sector 127",
7 "phone": "9915347757",
8 "country_phone_code": "91",
9 "checkout_mode": "value",
10 "address": "Megatron2",
11 "area_code_slug": "value",
12 "geo_location": {
13 "longitude": 70.1587704,
14 "latitude": 20.2262474
15 },
16 "id": "value",
17 "_custom_json": {},
18 "city": "value",
19 "sector": "value",
20 "state_code": "MH",
21 "created_by_user_id": "value",
22 "landmark": "",
23 "user_id": "value",
24 "name": "abc",
25 "google_map_point": {},
26 "is_active": false,
27 "tags": [
28 "lorem",
29 "ipsum"
30 ],
31 "country_code": "IND",
32 "address_type": "home",
33 "country": "India",
34 "is_default_address": true,
35 "area_code": "value",
36 "email": "ankur@gofynd1.com",
37 "state": "value",
38 "meta": {},
39 "pincode": 400093,
40 "store_name": "store123"
41}'
Try it
Response
1{
2 "id": "mongo_object_id",
3 "is_default_address": true,
4 "success": true
5}
GET

Get details for a single customer address

Get a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details.
Parameters
id
string
Required
ID allotted to the selected address.
cart_id
string
The unique identifier of the cart.
buy_now
boolean
This is boolean to get buy_now cart.
mobile_no
string
Mobile number of the customer.
checkout_mode
string
Option to checkout for self or for others.
tags
string
Tag given to an address, e.g. work, home, office, shop.
is_default
boolean
This is a boolean value. Select `true` to fetch the default address.
Response
200
Success. Returns an Address object containing a list of address saved in the account. Refer `Address` for more details.
Address
country_iso_code
string
Country iso code for address.
area
string
Area description for address.
phone
string
Phone number for address.
country_phone_code
string
Country phone code for address.
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
address
string
Address description for address data.
area_code_slug
string
Area code slug for address. example pincode is slug for India.
geo_location
object (GeoLocation)
GeoLocation
latitude
number
| float
Latitude coordinate for address.
Default Value : 0
longitude
number
| float
Longitude coordinate for address.
Default Value : 0
id
string
Id of the address.
_custom_json
object
Custom json of the address.
city
string
City of the address.
sector
string
Sector of the address.
state_code
string
State code for address.
created_by_user_id
string
Created by user id of address.
landmark
string
Landmark of address.
user_id
string
User id of address for which address is created.
name
string
Name of person in address data to whom it belongs to.
google_map_point
object
Google map point of the address.
is_active
boolean
States whether address is active or not.
tags
array of string
Tags of address from which it can be identified.
country_code
string
Country code of address.
address_type
string
Address type of address.
country
string
Country of address.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
area_code
string
Area code of the address.
email
string
Email address for address data.
state
string
State of the address.
meta
object
Metadata of the address.
Examples
Parameters
id:
"value"
cart_id:
"value"
buy_now:
false
mobile_no:
"value"
checkout_mode:
"value"
tags:
"value"
is_default:
false
GET
/service/application/cart/v1.0/address/{id}
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/address/{id}"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "landmark": "",
3 "area_code": "8b526f521bb14a2593a8b9e3ce8c76b3",
4 "state": "Maharashtra",
5 "meta": {},
6 "user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
7 "created_by_user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
8 "country_code": "IND",
9 "state_code": "MH",
10 "country_phone_code": "91",
11 "country_iso_code": "IND",
12 "phone": "9915347757",
13 "geo_location": {},
14 "country": "India",
15 "is_default_address": true,
16 "is_active": true,
17 "city": "Mumbai",
18 "pincode": 400093,
19 "checkout_mode": "self",
20 "address_type": "home",
21 "uid": 1145,
22 "tags": [],
23 "area": "Sector 127",
24 "name": "abc",
25 "address_id": 1145,
26 "email": "ankur@gofynd1.com",
27 "address": "Megatron2",
28 "store_name": "store123"
29}
PUT

Updates an existing customer address

Customer can modify the details of a previously saved addresses.
Parameters
id
string
Required
ID allotted to the selected address.
Request body
country_iso_code
string
Country iso code for address.
area
string
Area description for address.
phone
string
Phone number for address.
country_phone_code
string
Country phone code for address.
checkout_mode
string
Checkout mode of address on which address to be used for which checkout mode of cart.
address
string
Address description for address data.
area_code_slug
string
Area code slug for address. example pincode is slug for India.
geo_location
object (GeoLocation)
GeoLocation
latitude
number
| float
Latitude coordinate for address.
Default Value : 0
longitude
number
| float
Longitude coordinate for address.
Default Value : 0
id
string
Id of the address.
_custom_json
object
Custom json of the address.
city
string
City of the address.
sector
string
Sector of the address.
state_code
string
State code for address.
created_by_user_id
string
Created by user id of address.
landmark
string
Landmark of address.
user_id
string
User id of address for which address is created.
name
string
Name of person in address data to whom it belongs to.
google_map_point
object
Google map point of the address.
is_active
boolean
States whether address is active or not.
tags
array of string
Tags of address from which it can be identified.
country_code
string
Country code of address.
address_type
string
Address type of address.
country
string
Country of address.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
area_code
string
Area code of the address.
email
string
Email address for address data.
state
string
State of the address.
meta
object
Metadata of the address.
Response
201
Success. Returns the address ID and a message indicating a successful address updation.
UpdateAddressResult
is_updated
boolean
Updated flag for update address operation if the address updated or not.
id
string
ID of an address.
success
boolean
Success flag of update address response.
is_default_address
boolean
Default address flag if no address selected then this should be the default address selected.
Examples
Parameters
id:
"value"
body:
body
PUT
/service/application/cart/v1.0/address/{id}
1curl -X PUT "https://api.fynd.com/service/application/cart/v1.0/address/{id}"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "country_iso_code": "IND",
6 "area": "Sector 128",
7 "phone": "9915347759",
8 "country_phone_code": "91",
9 "checkout_mode": "value",
10 "address": "Megatron3",
11 "area_code_slug": "value",
12 "geo_location": {
13 "longitude": 70.1587704,
14 "latitude": 20.2262474
15 },
16 "id": "value",
17 "_custom_json": {
18 "key": "value"
19 },
20 "city": "value",
21 "sector": "value",
22 "state_code": "MH",
23 "created_by_user_id": "value",
24 "landmark": "",
25 "user_id": "value",
26 "name": "abc",
27 "google_map_point": {},
28 "is_active": false,
29 "tags": [
30 "lorem",
31 "ipsum"
32 ],
33 "country_code": "IND",
34 "address_type": "home",
35 "country": "India",
36 "is_default_address": true,
37 "area_code": "value",
38 "email": "regrowth@gofynd.com",
39 "state": "value",
40 "meta": {},
41 "pincode": 400072,
42 "address_id": 1145,
43 "store_name": "store123"
44}'
Try it
Response
1{
2 "is_updated": true,
3 "id": "<mongo_object_id>",
4 "is_default_address": true,
5 "success": true
6}
DEL

Removes an address from a customer's address list

Delete an existing customer address from the system.
Parameters
id
string
Required
ID allotted to the selected address.
Response
201
Returns a Status object indicating the success or failure of address deletion.
DeleteAddressResult
id
string
Id of the address.
is_deleted
boolean
Deleted flag in delete address response states whether the address was deleted or not.
Examples
Parameters
id:
"value"
DEL
/service/application/cart/v1.0/address/{id}
1curl -X DELETE "https://api.fynd.com/service/application/cart/v1.0/address/{id}"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "id": "<mongo_object_id>",
3 "is_deleted": true
4}
POST

Select customer address for order processing

Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address.
Parameters
cart_id
string
The unique identifier of the cart.
buy_now
boolean
Whether to get buy_now cart.
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
Request body
id
string
Address is selected by user on which shipment to be delivered.
billing_address_id
string
Billing address id selected by user on which shipment bill to be generated.
cart_id
string
Cart id of the user cart for which the select address operation performed.
Response
201
400
Success. Returns a Cart object as shown below. Refer `CartDetailResult` for more details. .
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
cart_id:
"value"
buy_now:
false
i:
false
b:
false
body:
body
POST
/service/application/cart/v1.0/select-address
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/select-address"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "id": "mongo_object_id",
6 "billing_address_id": "mongo_object_id",
7 "cart_id": "mongo_cart_object_id"
8}'
Try it
Response
1{
2 "is_valid": true,
3 "buy_now": false,
4 "breakup_values": {
5 "raw": {
6 "cod_charge": 0,
7 "convenience_fee": 0,
8 "coupon": -2250,
9 "delivery_charge": 0,
10 "store_credit": 0,
11 "discount": 0,
12 "fynd_cash": 0,
13 "gst_charges": 315.86,
14 "mrp_total": 5198,
15 "mop_total": 0,
16 "total_charge": 10,
17 "subtotal": 5198,
18 "total": 2948,
19 "vog": 2632.15,
20 "you_saved": 0
21 },
22 "display": [
23 {
24 "display": "MRP Total",
25 "key": "mrp_total",
26 "value": 5198,
27 "currency_code": "INR"
28 },
29 {
30 "display": "Store Credit",
31 "key": "store_credit",
32 "value": 0,
33 "currency_code": "INR"
34 },
35 {
36 "display": "Subtotal",
37 "key": "subtotal",
38 "value": 5198,
39 "currency_code": "INR"
40 },
41 {
42 "display": "Coupon",
43 "key": "coupon",
44 "value": -2250,
45 "currency_code": "INR"
46 },
47 {
48 "display": "Total",
49 "key": "total",
50 "value": 2948,
51 "currency_code": "INR"
52 }
53 ],
54 "coupon": {
55 "type": "cash",
56 "code": "PRISMC22250111",
57 "uid": "17743",
58 "value": 2250,
59 "is_applied": true,
60 "message": "coupn applied"
61 },
62 "loyalty_points": {
63 "total": 0,
64 "applicable": 0,
65 "is_applied": false,
66 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
67 }
68 },
69 "items": [
70 {
71 "message": "",
72 "identifiers": {},
73 "quantity": 1,
74 "availability": {
75 "sizes": [
76 "M",
77 "S",
78 "L",
79 "XXL",
80 "XL"
81 ],
82 "other_store_quantity": 10,
83 "out_of_stock": false,
84 "deliverable": true,
85 "is_valid": true
86 },
87 "coupon_message": "PRISMC22250111 coupon applied",
88 "price": {
89 "base": {
90 "add_on": 3199,
91 "marked": 3199,
92 "effective": 3199,
93 "selling": 3199,
94 "currency_code": "INR"
95 },
96 "converted": {
97 "add_on": 3199,
98 "marked": 3199,
99 "effective": 3199,
100 "selling": 3199,
101 "currency_code": "INR"
102 }
103 },
104 "bulk_offer": {},
105 "article": {
106 "type": "article",
107 "uid": "381_610_IGPL01_LETTER19APINK_S",
108 "size": "S",
109 "seller": {
110 "uid": 381,
111 "name": "INTERSOURCE GARMENTS PVT LTD"
112 },
113 "store": {
114 "uid": 3009,
115 "name": "Kormangala"
116 },
117 "quantity": 11,
118 "price": {
119 "base": {
120 "marked": 3199,
121 "effective": 3199,
122 "currency_code": "INR"
123 },
124 "converted": {
125 "marked": 3199,
126 "effective": 3199,
127 "currency_code": "INR"
128 }
129 }
130 },
131 "charges": [
132 {
133 "type": "convenience fee",
134 "name": "convenience fee",
135 "code": "convenience fee",
136 "amount": {
137 "value": 10,
138 "currency": "INR"
139 },
140 "meta": {
141 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
142 "article_level_distribution": true
143 }
144 }
145 ],
146 "product": {
147 "type": "product",
148 "uid": 857596,
149 "name": "Pink Solid Hoodie",
150 "slug": "883-police-pink-solid-hoodie-857596-111bdc",
151 "brand": {
152 "uid": 610,
153 "name": "883 Police"
154 },
155 "categories": [
156 {
157 "uid": 144,
158 "name": "Hoodies"
159 }
160 ],
161 "images": [
162 {
163 "aspect_ratio": "16:25",
164 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg",
165 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg"
166 }
167 ],
168 "action": {
169 "type": "product",
170 "url": "https://api.addsale.com/platform/content/v1/products/883-police-pink-solid-hoodie-857596-111bdc/",
171 "query": {
172 "product_slug": [
173 "883-police-pink-solid-hoodie-857596-111bdc"
174 ]
175 }
176 }
177 },
178 "key": "857596_S",
179 "discount": ""
180 },
181 {
182 "message": "",
183 "quantity": 1,
184 "identifiers": {},
185 "availability": {
186 "sizes": [
187 "L",
188 "XL",
189 "XXL"
190 ],
191 "other_store_quantity": 1,
192 "out_of_stock": false,
193 "deliverable": true,
194 "is_valid": true
195 },
196 "coupon_message": "PRISMC22250111 coupon applied",
197 "price": {
198 "base": {
199 "add_on": 1999,
200 "marked": 1999,
201 "effective": 1999,
202 "selling": 1999,
203 "currency_code": "INR"
204 },
205 "converted": {
206 "add_on": 1999,
207 "marked": 1999,
208 "effective": 1999,
209 "selling": 1999,
210 "currency_code": "INR"
211 }
212 },
213 "bulk_offer": {},
214 "article": {
215 "type": "article",
216 "uid": "381_610_IGPL01_SPIRAL19ANAVY_L",
217 "size": "L",
218 "seller": {
219 "uid": 381,
220 "name": "INTERSOURCE GARMENTS PVT LTD"
221 },
222 "store": {
223 "uid": 3009,
224 "name": "Kormangala"
225 },
226 "quantity": 2,
227 "price": {
228 "base": {
229 "marked": 1999,
230 "effective": 1999,
231 "currency_code": "INR"
232 },
233 "converted": {
234 "marked": 1999,
235 "effective": 1999,
236 "currency_code": "INR"
237 }
238 }
239 },
240 "charges": [
241 {
242 "type": "convenience fee",
243 "name": "convenience fee",
244 "code": "convenience fee",
245 "amount": {
246 "value": 10,
247 "currency": "INR"
248 },
249 "meta": {
250 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
251 "article_level_distribution": true
252 }
253 }
254 ],
255 "product": {
256 "type": "product",
257 "uid": 820312,
258 "name": "Navy Blue Melange Shorts",
259 "slug": "883-police-navy-blue-melange-shorts-820312-4943a8",
260 "brand": {
261 "uid": 610,
262 "name": "883 Police"
263 },
264 "categories": [
265 {
266 "uid": 193,
267 "name": "Shorts"
268 }
269 ],
270 "images": [
271 {
272 "aspect_ratio": "16:25",
273 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg",
274 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg"
275 }
276 ],
277 "action": {
278 "type": "product",
279 "url": "https://api.addsale.com/platform/content/v1/products/883-police-navy-blue-melange-shorts-820312-4943a8/",
280 "query": {
281 "product_slug": [
282 "883-police-navy-blue-melange-shorts-820312-4943a8"
283 ]
284 }
285 }
286 },
287 "key": "820312_L",
288 "discount": ""
289 }
290 ],
291 "delivery_charge_info": "",
292 "coupon_text": "View all offers",
293 "uid": "7477",
294 "gstin": "",
295 "checkout_mode": "self",
296 "last_modified": "2020-03-09T00:00:00.000Z",
297 "restrict_checkout": false,
298 "custom_cart_meta": {
299 "test": "test"
300 }
301}

Payment mode

Payment mode refers to the method used by customers to pay for their purchases during the checkout process. Payment modes typically include options such as credit card, debit card, digital wallets, bank transfer, cash on delivery (COD), and various online payment platforms like PayPal or Stripe. Customers select their preferred payment mode based on factors such as convenience, security, and availability. The chosen payment mode dictates how the transaction is processed and completed, ensuring a smooth and secure payment experience for the customer.

Operations
PUT
/service/application/cart/v1.0/payment
# Select payment mode
PUT

Select payment mode

Select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction.
Parameters
id
string
The unique identifier of the cart.
buy_now
boolean
Whether to get buy_now cart.
Request body
id
string
Cart id of the user cart for which the update cart payment operation performed.
payment_identifier
string
Nullable
Payment identifier of the payment mode selected to do the payment.
address_id
string
Address id of the user address selected to deliver the shipment.
merchant_code
string
Merchant code of the payment mode selected to do the payment.
aggregator_name
string
Aggregator name of the payment gateway.
payment_mode
string
Payment mode of the payment selected to do the payment.
Response
200
Success. Returns a Cart object as shown below. Refer `CartDetailResult` for more details.
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
id:
"value"
buy_now:
false
body:
body
PUT
/service/application/cart/v1.0/payment
1curl -X PUT "https://api.fynd.com/service/application/cart/v1.0/payment"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "id": "8b526f521bb14a2593a8b9e3ce8c76b3",
6 "payment_identifier": "ICIC",
7 "address_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
8 "merchant_code": "NB_ICICI",
9 "aggregator_name": "Razorpay",
10 "payment_mode": "NB"
11}'
Try it
Response
1{
2 "success": true,
3 "error_message": "Note: Your order delivery will be delayed by 7-10 Days",
4 "user_type": "Store User",
5 "cod_charges": 0,
6 "order_id": null,
7 "cod_available": true,
8 "cod_message": "No additional COD charges applicable",
9 "delivery_charges": 0,
10 "delivery_charge_order_value": 0,
11 "store_code": "",
12 "store_emps": [],
13 "breakup_values": {
14 "raw": {
15 "cod_charge": 0,
16 "convenience_fee": 0,
17 "coupon": -2250,
18 "delivery_charge": 0,
19 "discount": 0,
20 "fynd_cash": 0,
21 "gst_charges": 315.86,
22 "store_credit": 0,
23 "mrp_total": 5198,
24 "mop_total": 0,
25 "total_charge": 10,
26 "subtotal": 5198,
27 "total": 2948,
28 "vog": 2632.15,
29 "you_saved": 0
30 },
31 "display": [
32 {
33 "display": "MRP Total",
34 "key": "mrp_total",
35 "value": 5198,
36 "currency_code": "INR"
37 },
38 {
39 "display": "Store Credit",
40 "key": "store_credit",
41 "value": 0,
42 "currency_code": "INR"
43 },
44 {
45 "display": "Subtotal",
46 "key": "subtotal",
47 "value": 5198,
48 "currency_code": "INR"
49 },
50 {
51 "display": "Coupon",
52 "key": "coupon",
53 "value": -2250,
54 "currency_code": "INR"
55 },
56 {
57 "display": "Total",
58 "key": "total",
59 "value": 2948,
60 "currency_code": "INR"
61 }
62 ],
63 "coupon": {
64 "type": "cash",
65 "code": "PRISMC22250111",
66 "uid": "17743",
67 "value": 2250,
68 "is_applied": true,
69 "message": "coupn applied"
70 },
71 "loyalty_points": {
72 "total": 0,
73 "applicable": 0,
74 "is_applied": false,
75 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
76 }
77 },
78 "items": [
79 {
80 "message": "",
81 "identifiers": {},
82 "quantity": 1,
83 "availability": {
84 "sizes": [
85 "M",
86 "S",
87 "L",
88 "XXL",
89 "XL"
90 ],
91 "other_store_quantity": 10,
92 "out_of_stock": false,
93 "deliverable": true,
94 "is_valid": true
95 },
96 "coupon_message": "PRISMC22250111 coupon applied",
97 "price": {
98 "base": {
99 "add_on": 3199,
100 "marked": 3199,
101 "effective": 3199,
102 "selling": 3199,
103 "currency_code": "INR"
104 },
105 "converted": {
106 "add_on": 3199,
107 "marked": 3199,
108 "effective": 3199,
109 "selling": 3199,
110 "currency_code": "INR"
111 }
112 },
113 "bulk_offer": {},
114 "article": {
115 "type": "article",
116 "uid": "381_610_IGPL01_LETTER19APINK_S",
117 "size": "S",
118 "seller": {
119 "uid": 381,
120 "name": "INTERSOURCE GARMENTS PVT LTD"
121 },
122 "store": {
123 "uid": 3009,
124 "name": "Kormangala"
125 },
126 "quantity": 11,
127 "price": {
128 "base": {
129 "marked": 3199,
130 "effective": 3199,
131 "currency_code": "INR"
132 },
133 "converted": {
134 "marked": 3199,
135 "effective": 3199,
136 "currency_code": "INR"
137 }
138 }
139 },
140 "charges": [
141 {
142 "type": "convenience fee",
143 "name": "convenience fee",
144 "code": "convenience fee",
145 "amount": {
146 "value": 10,
147 "currency": "INR"
148 },
149 "meta": {
150 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
151 "article_level_distribution": true
152 }
153 }
154 ],
155 "product": {
156 "type": "product",
157 "uid": 857596,
158 "name": "Pink Solid Hoodie",
159 "slug": "883-police-pink-solid-hoodie-857596-111bdc",
160 "brand": {
161 "uid": 610,
162 "name": "883 Police"
163 },
164 "categories": [
165 {
166 "uid": 144,
167 "name": "Hoodies"
168 }
169 ],
170 "images": [
171 {
172 "aspect_ratio": "16:25",
173 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg",
174 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_LETTER19APINK/1_1553062658148.jpg"
175 }
176 ],
177 "action": {
178 "type": "product",
179 "url": "https://api.addsale.com/platform/content/v1/products/883-police-pink-solid-hoodie-857596-111bdc/",
180 "query": {
181 "product_slug": [
182 "883-police-pink-solid-hoodie-857596-111bdc"
183 ]
184 }
185 }
186 },
187 "key": "857596_S",
188 "discount": ""
189 },
190 {
191 "message": "",
192 "quantity": 1,
193 "identifiers": {},
194 "availability": {
195 "sizes": [
196 "L",
197 "XL",
198 "XXL"
199 ],
200 "other_store_quantity": 1,
201 "out_of_stock": false,
202 "deliverable": true,
203 "is_valid": true
204 },
205 "coupon_message": "PRISMC22250111 coupon applied",
206 "price": {
207 "base": {
208 "add_on": 1999,
209 "marked": 1999,
210 "effective": 1999,
211 "selling": 1999,
212 "currency_code": "INR"
213 },
214 "converted": {
215 "add_on": 1999,
216 "marked": 1999,
217 "effective": 1999,
218 "selling": 1999,
219 "currency_code": "INR"
220 }
221 },
222 "bulk_offer": {},
223 "article": {
224 "type": "article",
225 "uid": "381_610_IGPL01_SPIRAL19ANAVY_L",
226 "size": "L",
227 "seller": {
228 "uid": 381,
229 "name": "INTERSOURCE GARMENTS PVT LTD"
230 },
231 "store": {
232 "uid": 3009,
233 "name": "Kormangala"
234 },
235 "quantity": 2,
236 "price": {
237 "base": {
238 "marked": 1999,
239 "effective": 1999,
240 "currency_code": "INR"
241 },
242 "converted": {
243 "marked": 1999,
244 "effective": 1999,
245 "currency_code": "INR"
246 }
247 }
248 },
249 "charges": [
250 {
251 "type": "convenience fee",
252 "name": "convenience fee",
253 "code": "convenience fee",
254 "amount": {
255 "value": 10,
256 "currency": "INR"
257 },
258 "meta": {
259 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
260 "article_level_distribution": true
261 }
262 }
263 ],
264 "product": {
265 "type": "product",
266 "uid": 820312,
267 "name": "Navy Blue Melange Shorts",
268 "slug": "883-police-navy-blue-melange-shorts-820312-4943a8",
269 "brand": {
270 "uid": 610,
271 "name": "883 Police"
272 },
273 "categories": [
274 {
275 "uid": 193,
276 "name": "Shorts"
277 }
278 ],
279 "images": [
280 {
281 "aspect_ratio": "16:25",
282 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg",
283 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg"
284 }
285 ],
286 "action": {
287 "type": "product",
288 "url": "https://api.addsale.com/platform/content/v1/products/883-police-navy-blue-melange-shorts-820312-4943a8/",
289 "query": {
290 "product_slug": [
291 "883-police-navy-blue-melange-shorts-820312-4943a8"
292 ]
293 }
294 }
295 },
296 "key": "820312_L",
297 "discount": ""
298 }
299 ],
300 "delivery_charge_info": "",
301 "coupon_text": "View all offers",
302 "buy_now": false,
303 "cart_id": 7477,
304 "uid": "7477",
305 "gstin": "",
306 "checkout_mode": "self",
307 "last_modified": "2020-03-09T00:00:00.000Z",
308 "restrict_checkout": false,
309 "is_valid": true,
310 "custom_cart_meta": {
311 "test": "test"
312 }
313}

Promotion offers

Promotion offers are special incentives or discounts provided to customers to encourage purchases or enhance their shopping experience. These offers can take various forms, such as percentage discounts, fixed-price discounts, free shipping, buy-one-get-one (BOGO) deals. Ladder pricing, also known as tiered pricing, refers to a pricing strategy where the price of a product varies depending on the quantity purchased or other specified criteria. With ladder pricing, customers are incentivized to buy more by offering discounts or reduced prices for larger quantities or higher purchase volumes. For example, a retailer might offer a discounted price per unit for purchasing 10 items instead of just one.

Operations
GET
/service/application/cart/v1.0/available-promotions
# List available promotion offers
GET
/service/application/cart/v1.0/available-ladder-prices
# List ladder offers
GET
/service/application/cart/v1.0/available-payment-offers
# Fetch available promotions payment offers
GET

List available promotion offers

List all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period.
Parameters
slug
string
A short, human-readable, URL-friendly identifier of a product.
page_size
integer
Number of offers to be fetched to show.
promotion_group
string
Type of promotion groups.
store_id
integer
Unique identifier of a store.
cart_type
string
The type of cart.
Response
200
400
Success. Returns a array containing the available offers (if exists) on product via promotions. Refer `PromotionOffersResult` for more details.
PromotionOffersResult
available_promotions
array of object (PromotionOffer)
Available promotion details which are available on product which includes promotion data like promotion id, promotion name, buy rules, discount rules validity dates etc.
Array of PromotionOffer
id
string
Promotion id of the promotion which is available on product.
buy_rules
object
Buy rules of promotion which is available on product.
offer_text
string
Offer title of the promotion which is available on product.
promotion_type
string
Promotion type of the promotion which is availalbe on product.
Enum
promotion_name
string
Name of the promotion which is available on product.
promotion_group
string
Group of the promotion which is available on product.
valid_till
string
| date-time
Datetime ISO String for promotion end date which is available on product.
discount_rules
array of object
Discount rules of promotions which is avaiable on product.
free_gift_items
array of object (FreeGiftItems)
Details of free gift items which included item id, brand name, item name, item slug, item price and item image url.
Array of FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
description
string
Offer details including T&amp;C of the promotion which is avaiable on product.
Examples
Parameters
slug:
"value"
page_size:
1
promotion_group:
"value"
store_id:
1
cart_type:
"value"
GET
/service/application/cart/v1.0/available-promotions
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/available-promotions"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "available_promotions": [
3 {
4 "offer_text": "Buy 2 apple/gionee product get 500 off",
5 "description": "Test promotion",
6 "id": "61d1db23f5b315cf265126c0",
7 "valid_till": "2022-03-29T09:05:49.063Z",
8 "promotion_group": "cart"
9 },
10 {
11 "offer_text": "Buy 2 apple/gionee product get 500 off",
12 "description": "Test promotion",
13 "id": "6203cb1393506f8a75ecd566",
14 "valid_till": "2022-03-29T09:05:49.063Z",
15 "promotion_group": "product"
16 },
17 {
18 "offer_text": "Buy 2 apple/gionee product get 500 off",
19 "description": "Test promotion",
20 "id": "6203cb1393506f8a75ecd567",
21 "valid_till": "2022-03-29T09:05:49.063Z",
22 "promotion_group": "product"
23 },
24 {
25 "offer_text": "Buy 2 apple/gionee product get 500 off",
26 "description": "Test promotion",
27 "id": "6203cb1393506f8a75ecd569",
28 "valid_till": "2022-03-29T09:05:49.063Z",
29 "promotion_group": "product"
30 },
31 {
32 "free_gift_items": [
33 {
34 "item_id": 7513738,
35 "item_name": "dinshaws milk",
36 "item_images_url": [
37 "https://hdn-1.jmpx2.de/jmpx2/products/pictures/item/free/original/-uah4-ZMe-ProductTestAR2.jpeg"
38 ],
39 "item_brand_name": "Arpita",
40 "item_price_details": {
41 "effective": {
42 "min": 80,
43 "max": 700
44 },
45 "marked": {
46 "min": 100,
47 "max": 800
48 },
49 "currency": "INR"
50 },
51 "article_price": {
52 "effective": 200,
53 "marked": 200
54 }
55 },
56 {
57 "item_slug": "Dinshaw"
58 }
59 ]
60 }
61 ]
62}
GET

List ladder offers

Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals.
Parameters
slug
string
Required
A short, human-readable, URL-friendly identifier of a product.
store_id
string
Store uid of assigned store on PDP page. If not passed default first created ladder will be returned.
promotion_id
string
Get ladder information of given promotion id explicitely.
page_size
integer
Number of offers to be fetched to show.
Response
200
400
Success. Returns a object containing the applicable ladder price offers (if exists) on product. Refer `PromotionOffersResult` for more details.
LadderPriceOffers
available_offers
array of object (LadderPriceOffer)
Available ladder promotions offers list.
Array of LadderPriceOffer
id
string
ID of the promotion.
buy_rules
object
Buy rules of ladder price promotion applicable on product.
calculate_on
string
If this ladder offer is to be calculated on MRP or ESP price.
offer_text
string
Offer title of ladder price promotion applicable on product.
promotion_group
string
Group of ladder price promotion applicable on product.
valid_till
string
| date-time
Datetime ISO String for promotion end date.
discount_rules
array of object
Discount rules of ladder price promotion applicable on product.
offer_prices
array of object (LadderOfferItem)
Offer prices for ladder price promotion applicable on product.
Array of LadderOfferItem
price
object (LadderPrice)
LadderPrice
currency_symbol
string
Currency symbol for currency of ladder price product.
offer_price
number
| float
Discounted per unit price for current offer object.
currency_code
string
Currency code for all amounts.
effective
integer
| int32
Current per unit price of product after existing deductions.
marked
integer
| int32
Original price of product.
margin
integer
| int32
Percentage value of discount.
max_quantity
integer
| int32
Minimum quantity upto which offer is applicable. If not present that offer is applicable on all quantities.
min_quantity
integer
| int32
Minimum quantity from which offer is applicable.
type
string
Offer type of the ladder promotion.
free_gift_items
array of object (FreeGiftItems)
Details of free gift items list.
Array of FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
description
string
Offer details including T&amp;C of ladder price promotion applicable on product.
currency
object (CurrencyInfo)
CurrencyInfo
code
string
Currency code of ladder price promotion.
symbol
string
Currency symbol for currency of ladder price product.
Examples
Parameters
slug:
"value"
store_id:
"value"
promotion_id:
"value"
page_size:
1
GET
/service/application/cart/v1.0/available-ladder-prices
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/available-ladder-prices?slug=value"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "available_offers": [
3 {
4 "id": "6203cb1393506f8a75ecd56b",
5 "offer_text": "Ladder Price 2",
6 "description": "Ladder Price 2",
7 "offer_prices": [
8 {
9 "min_quantity": 0,
10 "max_quantity": 0,
11 "margin": 5,
12 "type": "percentage",
13 "price": {
14 "marked": 5499,
15 "effective": 5499,
16 "offer_price": 5224.05
17 }
18 },
19 {
20 "min_quantity": 0,
21 "max_quantity": 0,
22 "margin": 10,
23 "type": "percentage",
24 "price": {
25 "marked": 5499,
26 "effective": 5499,
27 "offer_price": 4949.1
28 }
29 },
30 {
31 "min_quantity": 0,
32 "max_quantity": 0,
33 "margin": 20,
34 "type": "percentage",
35 "price": {
36 "marked": 5499,
37 "effective": 5499,
38 "offer_price": 4399.2
39 }
40 }
41 ]
42 },
43 {
44 "id": "6203cb1393506f8a75ecd56a",
45 "offer_text": "Ladder Price 1",
46 "description": "Ladder Price 1",
47 "offer_prices": [
48 {
49 "min_quantity": 0,
50 "max_quantity": 0,
51 "margin": 10,
52 "type": "amount",
53 "price": {
54 "marked": 5499,
55 "effective": 5499,
56 "offer_price": 4949.1
57 }
58 },
59 {
60 "min_quantity": 0,
61 "max_quantity": 0,
62 "margin": 15,
63 "type": "amount",
64 "price": {
65 "marked": 5499,
66 "effective": 5499,
67 "offer_price": 4674.15
68 }
69 },
70 {
71 "min_quantity": 0,
72 "max_quantity": 0,
73 "margin": 20,
74 "type": "amount",
75 "price": {
76 "marked": 5499,
77 "effective": 5499,
78 "offer_price": 4399.2
79 }
80 }
81 ]
82 }
83 ],
84 "currency": {
85 "code": "INR",
86 "symbol": "₹"
87 }
88}
GET

Fetch available promotions payment offers

Use this API to get top 5 payment offers available for current product.
Parameters
id
string
Cart id of the user cart .
uid
integer
Cart uid of the user cart .
Response
200
400
Success. Returns a array containing the available offers (if exists) on product via promotions. Refer `PromotionPaymentOffersResult` for more details.
PromotionPaymentOffersResult
success
boolean
Success flag of get payment offers API response.
promotions
array of object (PromotionPaymentOffer)
List of promotions data which are applicable on cart/product.
Array of PromotionPaymentOffer
application_id
string
Application id on which the promotion was created.
buy_rules
array of object
Buy rules of promotions which denotes if the rules matches than only promotion is applicable.
calculate_on
string
Article Price on which promotion calculated like effective price or marked price.
description
string
Offer details including T&amp;C of the promotion which is avaiable on cart.
discount_rules
array of object
Discount rules of promotions which is avaiable on cart.
id
string
Promotion id of the promotion which is available on cart.
offer_text
string
Offer title of the promotion which is available on cart.
promotion_group
string
Group promotion which is available on cart.
promotion_type
string
Promotion type of the promotion which is availalbe on cart.
Enum
promotion_name
string
Name of the promotion which is available on cart.
Examples
Parameters
id:
"value"
uid:
1
GET
/service/application/cart/v1.0/available-payment-offers
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/available-payment-offers"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "success": true,
3 "available_promotions": [
4 {
5 "offer_text": "Bank offer promotion",
6 "description": "Bank offer promotion",
7 "promotion_name": "Bank offer promotion",
8 "promotion_type": "amount",
9 "id": "66587348e0046e268206b5ae",
10 "promotion_group": "cart",
11 "buy_rules": [
12 {
13 "item_criteria": {},
14 "cart_conditions": {}
15 }
16 ],
17 "discount_rules": [
18 {
19 "item_criteria": {
20 "buy_rules": [
21 "rule#1"
22 ]
23 },
24 "matched_buy_rules": [
25 "rule#1"
26 ],
27 "offer": {
28 "discount_amount": 5
29 },
30 "raw_offer": {
31 "offer": {
32 "discount_amount": 5
33 },
34 "buy_condition": "( rule#1 )",
35 "discount_type": "amount",
36 "item_criteria": {
37 "buy_rules": [
38 "rule#1"
39 ]
40 }
41 }
42 }
43 ],
44 "application_id": "62f35968d101a6d38c886d85",
45 "calculate_on": "esp"
46 }
47 ]
48}

Reward Points

Reward points are incentives given to customers as part of a loyalty program or promotional campaign. Users accumulate reward points through various activities, such as making purchases, referring friends, or engaging with the platform. Reward points can be redeemed for discounts.

Operations
POST
/service/application/cart/v1.0/redeem/points/
# Use reward points
POST

Use reward points

Users can redeem their accumulated reward points and apply them to the items in their cart, thereby availing discounts on their current purchases.
Parameters
id
string
The unique identifier of the cart.
i
boolean
Select `true` to retrieve all the items added in the cart.
b
boolean
Select `true` to retrieve the price breakup of cart items.
buy_now
boolean
This is boolean to get buy_now cart.
Request body
points
boolean
Required
Points to be applied for cart.
Response
200
Success. Returns a Cart object. Check the example shown below or refer `CartDetailResult` for more details.
CartDetailResult
cart_id
integer
| int32
Unique identifier of the user cart.
uid
string
Unique identifier of the user cart.
applied_promo_details
array of object (AppliedPromotion)
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
checkout_mode
string
Checkout mode of user cart.
pan_no
string
Permanent Account Number of the user.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
id
string
Unique identifier of the user cart.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
comment
string
Comment message to be added in user cart.
items
array of object (CartProductInfo)
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
delivery_charge_info
string
Delivery charge in information message on shipment .
common_config
object (CartCommonConfig)
CartCommonConfig
delivery_charges_config
object (DeliveryChargesConfig)
DeliveryChargesConfig
enabled
boolean
Delivery charge enabled for the cart or not.
charges
array of object (ChargesThreshold)
Charges applicable based on threshold.
Array of ChargesThreshold
charges
number
| float
Charges amount to be applied on cart.
threshold
number
| float
Threshold of cart value on which the charge should be applied .
coupon
object (CartDetailCoupon)
CartDetailCoupon
cashback_amount
number
| float
Fields denotes cashback amount applied to cart.
cashback_message_primary
string
Primary cashback message for coupon applied to cart.
cashback_message_secondary
string
Secondary cashback message for coupon applied to cart.
coupon_code
string
Coupon code to be applied to cart.
coupon_description
string
Coupon description of the coupon applied to cart.
coupon_id
string
Unique identifier of the coupon applied to cart.
coupon_subtitle
string
Coupon subtitle of the coupon applied to cart.
coupon_title
string
Coupon Title of the coupon applied.
coupon_type
string
Type of the coupon applied to cart.
coupon_value
number
| float
Value of the coupon applied to cart.
discount
number
| float
Total discount earned from coupon applied to cart.
is_applied
boolean
Flag to determine where the coupon is applied to cart or not.
is_valid
boolean
Determine where the coupon applied to cart is valid.
maximum_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
message
string
Coupon message of the coupon applied to cart.
minimum_cart_value
number
| float
Minimum cart value of the coupon applied to cart.
message
string
Message of the get cart detail API response.
notification
object
Notification object which denotes notification data for user cart.
staff_user_id
string
Staff employee user id if cart is created by staff employee for the customer.
success
boolean
Success flag of get cart detail API response.
gstin
string
GSTIN added in user cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
coupon_text
string
Coupon text of coupon applied on cart.
buy_now
boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
pan_config
object
Pan card config states at what condition user should enter the pan card.
custom_cart_meta
object
Custom meta details added cart checkout API payload .
Examples
Parameters
id:
"value"
i:
false
b:
false
buy_now:
false
body:
body
POST
/service/application/cart/v1.0/redeem/points/
1curl -X POST "https://api.fynd.com/service/application/cart/v1.0/redeem/points/"
2 -H 'Authorization: Bearer {authorization_token}'
3 -H 'Content-Type: application/json'
4-d '{
5 "points": true
6}'
Try it
Response
1{
2 "items": [
3 {
4 "bulk_offer": {},
5 "identifiers": {},
6 "discount": "67% OFF",
7 "article": {
8 "type": "article",
9 "uid": "604_902_SSTC60401_636BLUE_1",
10 "size": "1",
11 "seller": {
12 "uid": 604,
13 "name": "SHRI SHANTINATH TRADING COMPANY"
14 },
15 "store": {
16 "uid": 4579,
17 "name": "Gandhi Nagar"
18 },
19 "quantity": 108,
20 "price": {
21 "base": {
22 "marked": 2999,
23 "effective": 999,
24 "currency_code": "INR"
25 },
26 "converted": {
27 "marked": 2999,
28 "effective": 999,
29 "currency_code": "INR"
30 }
31 }
32 },
33 "charges": [
34 {
35 "type": "convenience fee",
36 "name": "convenience fee",
37 "code": "convenience fee",
38 "amount": {
39 "value": 10,
40 "currency": "INR"
41 },
42 "meta": {
43 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
44 "article_level_distribution": true
45 }
46 }
47 ],
48 "coupon_message": "",
49 "key": "707569_1",
50 "availability": {
51 "sizes": [
52 "1",
53 "8",
54 "7",
55 "2",
56 "9",
57 "5",
58 "3",
59 "6"
60 ],
61 "other_store_quantity": 107,
62 "out_of_stock": false,
63 "deliverable": true,
64 "is_valid": true
65 },
66 "product": {
67 "type": "product",
68 "uid": 707569,
69 "name": "Blue and Gold Printed Ethnic Set",
70 "slug": "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a",
71 "brand": {
72 "uid": 902,
73 "name": ""
74 },
75 "categories": [
76 {
77 "uid": 525,
78 "name": ""
79 }
80 ],
81 "images": [
82 {
83 "aspect_ratio": "16:25",
84 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg",
85 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/902_636BLUE/1_1540301094877.jpg"
86 }
87 ],
88 "action": {
89 "type": "product",
90 "url": "https://api.addsale.com/v1/products/aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a/",
91 "query": {
92 "product_slug": [
93 "aj-dezines-blue-and-gold-printed-ethnic-set-707569-bff01a"
94 ]
95 }
96 }
97 },
98 "price": {
99 "base": {
100 "add_on": 999,
101 "marked": 2999,
102 "effective": 999,
103 "selling": 999,
104 "currency_code": "INR"
105 },
106 "converted": {
107 "add_on": 999,
108 "marked": 2999,
109 "effective": 999,
110 "selling": 999,
111 "currency_code": "INR"
112 }
113 },
114 "message": "",
115 "quantity": 1
116 }
117 ],
118 "buy_now": false,
119 "cart_id": 54,
120 "uid": "54",
121 "breakup_values": {
122 "raw": {
123 "cod_charge": 0,
124 "convenience_fee": 0,
125 "coupon": 0,
126 "delivery_charge": 0,
127 "discount": -2000,
128 "fynd_cash": 0,
129 "gst_charges": 47.57,
130 "store_credit": 0,
131 "mrp_total": 2999,
132 "mop_total": 0,
133 "total_charge": 10,
134 "subtotal": 999,
135 "total": 999,
136 "vog": 951.43,
137 "you_saved": 0
138 },
139 "coupon": {
140 "type": "cash",
141 "code": "",
142 "uid": "",
143 "value": 0,
144 "is_applied": false,
145 "message": "Sorry! Invalid Coupon"
146 },
147 "display": [
148 {
149 "display": "MRP Total",
150 "key": "mrp_total",
151 "value": 2999,
152 "currency_code": "INR"
153 },
154 {
155 "display": "Store Credit",
156 "key": "store_credit",
157 "value": 0,
158 "currency_code": "INR"
159 },
160 {
161 "display": "Discount",
162 "key": "discount",
163 "value": -2000,
164 "currency_code": "INR"
165 },
166 {
167 "display": "Subtotal",
168 "key": "subtotal",
169 "value": 999,
170 "currency_code": "INR"
171 },
172 {
173 "display": "Total",
174 "key": "total",
175 "value": 999,
176 "currency_code": "INR"
177 }
178 ],
179 "loyalty_points": {
180 "total": 0,
181 "applicable": 0,
182 "is_applied": false,
183 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
184 }
185 },
186 "delivery_charge_info": "",
187 "coupon_text": "View all offers",
188 "gstin": "",
189 "checkout_mode": "self",
190 "restrict_checkout": false,
191 "is_valid": true,
192 "last_modified": "2020-03-09T00:00:00.000Z",
193 "custom_cart_meta": {
194 "test": "test"
195 }
196}

Shipment

Shipment refers to the process of delivering purchased items from the seller's location to the customer’s designated address. Shipment details includes seller information, estimated delivery dates, item quantity, order type (Home Delivery or Digital) and other shipment meta information. Additionally, it provides details about the items included in the shipment.

Operations
GET
/service/application/cart/v1.0/shipment
# List shipments
GET

List shipments

Get shipment details for the items in a cart, specific to the selected address. Shipment details include delivery promises, seller information, item details, and other relevant information.
Parameters
p
boolean
Select `true` for getting a payment option in response.
id
string
The unique identifier of the cart.
buy_now
boolean
This is boolean to get buy_now cart.
address_id
string
ID allotted to the selected address.
area_code
string
The PIN Code of the destination address, e.g. 400059.
order_type
string
The order type of shipment HomeDelivery - If the customer wants the order home-delivered PickAtStore - If the customer wants the handover of an order at the store itself. Digital - If the customer wants to buy digital voucher ( for jiogames ).
Enum
Response
200
Success. Returns delivery promise along with shipment details and price breakup. Refer `CartShipmentsResult` for more details.
CartShipmentsResult
delivery_charge_info
string
Delivery charge in information message on shipment.
checkout_mode
string
Checkout mode of cart.
message
string
Result message of get shipments API.
gstin
string
GSTIN number added in cart.
restrict_checkout
boolean
Restrict checkout flag to restrict the checkout process.
last_modified
string
| date-time
Last modified timestamp of cart.
cart_id
integer
| int32
Cart id of the user cart.
is_valid
boolean
Cart validity flag determines the if the response is valid or not.
breakup_values
object (CartBreakup)
CartBreakup
display
array of object (DisplayBreakup)
List of breakup data which is used to display the breakup to the customer like MRP total, Discount, Sub total, coupon value, promotion value and final total.
Array of DisplayBreakup
currency_symbol
string
Currency symbol for the price.
key
string
Key of the price like total_mrp, total, subtotal etc.
display
string
Display key field that to be shown against the value.
message
array of string
List of message at price level to be displayed.
currency_code
string
Currency code for the price .
value
number
| float
Numeric value of the price.
preset
number
| float
Value for the price which is set from platform if applicable.
raw
object (RawBreakup)
RawBreakup
vog
number
| float
Total value of goods after all discount, coupons and promotion applied of all products in cart.
subtotal
number
| float
Selling price amount of all products in cart.
fynd_cash
number
| float
Loyalty points applied on cart.
discount
number
| float
Discount amount recieved on cart.
convenience_fee
number
| float
Convenience fee amount applied to cart.
delivery_charge
number
| float
Delivery charge applied to cart.
gst_charges
number
| float
GST charges applied on cart.
mrp_total
number
| float
Maximum price total amount of all products in cart.
mop_total
number
| float
Total of payment modes by which payment is going to be done.
total_charge
number
| float
Total amount of charges applied on cart.
coupon
number
| float
Coupon amount applied to cart.
total
number
| float
Total payable amount by the customer.
gift_card
number
| float
Gift cart amount applied on cart.
you_saved
number
| float
Total amount will be saved if customer places the order.
cod_charge
number
| float
Cod charge value applied to cart. This is applied when user select payment mode as COD.
coupon
object (CouponBreakup)
CouponBreakup
coupon_value
number
| float
Value of the coupon applied to cart.
title
string
Nullable
Coupon Title of the coupon applied denotes name of the coupon.
sub_title
string
Nullable
Coupon subtitle of the coupon applied to cart which is used to display.
minimum_cart_value
number
| float
Minumum cart value of cart after which the coupon can be applied.
message
string
Coupon message of the coupon applied to cart.
coupon_type
string
Nullable
Type of the coupon applied to cart.
uid
string
Unique identifier of the coupon applied to cart.
value
number
| float
Coupon value of the coupon applied to cart.
max_discount_value
number
| float
Maximum discount value of the coupon applied to cart.
is_applied
boolean
Applied flag which denotes if any coupon is applied to cart.
description
string
Nullable
Coupon description of the coupon applied to cart.
code
string
Coupon code of the coupon applied.
type
string
Type of the coupon applied to cart.
loyalty_points
object (LoyaltyPoints)
LoyaltyPoints
total
number
| float
Total loyalty points available with user.
description
string
Description for loyalty points.
applicable
number
| float
Whether the loyalty points are applicable for the cart .
is_applied
boolean
Whether the loyalty points are applied on the cart .
currency
object (CartCurrency)
CartCurrency
code
string
Currency code defined by ISO 4217:2015.
symbol
string
Currency symbol for currency of user cart prices.
id
string
Cart id of the user cart.
shipments
array of object (ShipmentResult)
List of Shipments which includes shipment data like shipment items, shipment promise, Shipment type, shipment order type, shipment dp options etc.
Array of ShipmentResult
shipments
integer
| int32
Count of shipments that will be shipped.
Default Value : 1
promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
order_type
string
Order type of the shipment like pickAtStore or HomeDelivery.
Enum
box_type
string
Nullable
Box type of the shipment in which the shipment will be delivered.
Default Value : null
shipment_type
string
Shipment type of the shipment returned in get shipments API like single_shipment or multiple shipment. Single Shipment means 1 item in 1 shipment and vice versa in the other one.
dp_options
object
Nullable
Delivery partner options that are available to deliver the shipment.
Default Value : null
dp_id
string
Nullable
Delivery partner id of the shipment.
Default Value : null
items
array of object (CartProductInfo)
Item details in the shipment.
Array of CartProductInfo
article
object (ProductArticle)
ProductArticle
price
object (ArticlePriceInfo)
ArticlePriceInfo
base
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
converted
object (BasePrice)
BasePrice
effective
number
| float
Current per unit price of product after existing deductions.
currency_symbol
string
Currency symbol of the currncy used for price.
marked
number
| float
Original price of product.
currency_code
string
Currency code for all amounts.
product_group_tags
array of string
List fot the unique identifier for the product grouping.
extra_meta
object
Field to update extra meta of the article in cart.
quantity
integer
| int32
Quantity of the article added in cart.
_custom_json
object
Field to update custom json of the article in cart.
meta
object
Article meta data.
size
string
Size of the article added in cart.
mto_quantity
integer
| int32
Quantity of the product which will specially manufactured as not available in stock.
seller
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
seller_identifier
string
List of identifiers used by sellers for the product size.
parent_item_identifiers
object
Fields to determine parent product of the product.
identifier
object
Unique identifier of the article.
store
object (StoreInfo)
StoreInfo
store_code
string
A unique code or identifier for the store, often used for internal reference.
uid
integer
| int32
Unique identifiers of the store from where product is fulfileld.
name
string
Store name of the store from where the product is fulfiled .
cart_item_meta
object
Meta details of the article added from cart.
uid
string
This unique identifier is assigned to the specific article. This represents item x size x location.
gift_card
object
Gift card detail if gift card applied to the product which indicates gift price, gift applicable flag and display message for the gift.
is_gift_visible
boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
type
string
Type of the data sent in response. Possible value is article.
tags
array of string
A list of article tags.
moq
object
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
identifiers
object (CartProductIdentifer)
CartProductIdentifer
identifier
string
Article idenfier generated by cart.
promo_meta
object (PromoMeta)
PromoMeta
message
string
Loyalty points message denotes how much loyalty points and applied and how much left with the user.
price
object (ProductPriceInfo)
ProductPriceInfo
base
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPrice)
ProductPrice
currency_symbol
string
Currency symbol of the price defined for the product.
selling
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
quantity
integer
| int32
Quantity of the product added in cart.
charges
array of object (Charges)
Charges information which denotes types of charges and amount of charge applied to that product in cart.
Array of Charges
meta
object
Meta data realted to charges price adjustment.
amount
object (ChargesAmount)
ChargesAmount
value
number
| float
This is the value of amount added.
currency
string
This is destination currency of value.
name
string
Name of the charge applied.
allow_refund
boolean
Whether refund is allowed or not for the charge.
code
string
Code of the charge applied.
type
string
Type of the charge applied.
discount
string
Discount amount of the product in cart.
availability
object (ProductAvailability)
ProductAvailability
out_of_stock
boolean
Denotes if the product is available in stock.
deliverable
boolean
Deliverable flag denotes if the product is deliverable or not.
available_sizes
array of object (ProductAvailabilitySize)
Product sizes availability.
Array of ProductAvailabilitySize
display
string
Display size of the product.
value
string
Actual value of the size.
is_available
boolean
Available flag for the size of the product if that is available.
is_valid
boolean
Valid flag for the product if the product added in cart is valid to place the order.
other_store_quantity
integer
| int32
Quantity of the product available on other store.
sizes
array of string
All sizes of the product.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
product
object (CartProduct)
CartProduct
_custom_json
object
Field to add custom json of the product in cart.
brand
object (BaseInfo)
BaseInfo
uid
integer
| int32
Unique identifier of entities like brand or seller.
name
string
Name of entities like brand or seller.
action
object (ProductAction)
ProductAction
query
object (ActionQuery)
ActionQuery
product_slug
array of string
Contains list of product slug.
url
string
Url of the product to render the product
type
string
Type of action.
page
object (ProductActionPage)
ProductActionPage
type
string
Entity of page to be redirected on click
params
object (ProductActionParams)
ProductActionParams
slug
array of string
Unique product url name generated via product name and other meta data.
teaser_tag
object (Tags)
Tags
tags
object
Tags is a lable or batch that is attached to a product in cart.
slug
string
Unique product url name generated via product name and other meta data.
images
array of object (ProductImage)
Product Images urls of different types like secure url, aspect ration url and url.
Array of ProductImage
secure_url
string
Secured url of the product image.
aspect_ratio
string
Aspect ratio of the product image.
url
string
Bucket link url for product image.
uid
integer
| int32
Unique identifier of the product in cart.
name
string
Product name of the product in cart which is defined on platform.
item_code
string
Nullable
Product code of the product while defining product on platform.
categories
array of object (CategoryInfo)
Product category information which incldes category name and category id.
Array of CategoryInfo
uid
integer
| int32
Product Category Id.
name
string
Category name of the product .
tags
array of string
Products tags that are added to each product to identify the set of products.
type
string
Type of product in cart.
attributes
object
Product attributes defined on platform.
product_ean_id
string
European Article Number of the product (limited upto 50 EAN identifier in a single request).
bulk_offer
object
Bulk offer information for the product which denotes if any bulk offer is applied to the product in cart.
parent_item_identifiers
object
Parent item information of the product which identifies the parent of the product in cart.
coupon
object (CouponDetails)
CouponDetails
discount_single_quantity
number
| float
Discout amount applied from coupon for single quantity of the product.
code
string
Coupon code of the coupon applied.
discount_total_quantity
number
| float
Total discount earned from coupon applied to cart.
custom_order
object
Whether MTO (Make to Order) is enabled or not.
coupon_message
string
Message for the coupon denotes which coupon is applied and empty if not applied.
key
string
The attribute key associated with the size.
message
string
Product level message which denotes error information to display over the product in cart.
is_set
boolean
Whether or not the product is a set of items.
price_per_unit
object (ProductPricePerUnitInfo)
ProductPricePerUnitInfo
base
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
converted
object (ProductPricePerUnit)
ProductPricePerUnit
currency_symbol
string
Currency symbol of the price defined for the product.
selling_price
number
| float
Selling price of the product .
currency_code
string
Currency code of the price defined for the product.
add_on
number
| float
Price before promotion and coupon amount applied for calculation.
effective
number
| float
Selling price of the product .
marked
number
| float
Maximum price of the product .
promotions_applied
array of object (AppliedPromotion)
List of applicable promotion for the product in cart.
Array of AppliedPromotion
promo_id
string
Promotion id.
buy_rules
array of object (BuyRules)
Buy rules for promotions.
Array of BuyRules
item_criteria
object
Item criteria of promotion.
cart_conditions
object
Cart conditions details for promotion.
offer_text
string
Offer text of current promotion.
promotion_group
string
Promotion group for the promotion.
mrp_promotion
boolean
If applied promotion is applied on product MRP or ESP.
promotion_name
string
Promotion name of current promotion.
amount
number
| float
Per unit discount amount applied with current promotion.
discount_rules
array of object (DiscountRulesApp)
Discount rules for promotions.
Array of DiscountRulesApp
matched_buy_rules
array of string
Matched buy rules for promotion.
raw_offer
object
Raw offer details for promotion.
offer
object
Offer for promotion.
item_criteria
object
Item criteria of promotion.
ownership
object (Ownership)
Ownership of promotion.
Ownership
payable_category
string
Promotion amount payable category.
payable_by
string
Promotion amount bearable party.
article_quantity
integer
| int32
Quantity of article on which promotion is applicable.
applied_free_articles
array of object (AppliedFreeArticles)
Applied free article for free gift item promotions.
Array of AppliedFreeArticles
free_gift_item_details
object (FreeGiftItems)
Free gift items details.
FreeGiftItems
item_slug
string
Slug for an item.
item_name
string
Name of the free gift item received via free gift promotion.
item_price_details
object (ItemPriceDetails)
ItemPriceDetails
marked
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
effective
object (PriceMinMax)
PriceMinMax
min
number
| float
Min price of article added in user cart.
max
number
| float
Max price of article added in user cart.
currency
string
Currency of the article added in cart.
article_price
object (ArticlePriceDetails)
ArticlePriceDetails
marked
number
| float
The Marked Price refers to the initial price of the free gift article before product discount.
effective
number
| float
The Effective Price refers to the final amount of the free gift article after applying the product discount.
item_brand_name
string
Item brand name of the free gift item promotion applied on cart.
item_id
integer
| int32
Item id of the free gift item.
available_sizes
array of string
Available sizes for the free gift item.
size
string
Selected size for the free gift item.
item_images_url
array of string
Images URLs for free gift items.
parent_item_identifier
string
Parent item identifier for free article.
quantity
integer
| int32
Quantity of free articles.
article_id
string
IDs of free articles.
promotion_type
string
Promotion type of current promotion.
Enum
meta
object
Meta object for extra data.
code
string
Nullable
Promotion code.
fulfillment_type
string
Fulfilment type of shipment.
fulfillment_id
integer
| int32
Fulfilment id of the shipment.
payment_selection_lock
object (PaymentSelectionLock)
PaymentSelectionLock
enabled
boolean
Denotes if default payment selection is enable.
default_options
string
Default Selection Payment Mode.
payment_identifier
string
Identifier for Payment Mode.
coupon_text
string
Coupon text of coupon applied on cart.
delivery_promise
object (ShipmentPromise)
ShipmentPromise
formatted
object (PromiseFormatted)
PromiseFormatted
max
string
Maximum Delivery promise formatted timestamp.
min
string
Minimum Delivery promise formatted timestamp.
timestamp
object (PromiseTimestamp)
PromiseTimestamp
max
number
| float
Maximum Promise for the shipment.
min
number
| float
Minimum delivery promise time for the shipment.
iso
object (PromiseISOFormat)
PromiseISOFormat
max
string
Max promise in ISO format.
min
string
Min Promise in ISO format.
error
boolean
Error details if any error occurs which includes type of error, error code and error message.
comment
string
Comment message added in cart.
buy_now
boolean
Buy now flag of user cart.
uid
string
Cart id of the user cart.
custom_cart_meta
object
Custom meta details added cart checkout API payload.
Examples
Parameters
Parameters are not required.
GET
/service/application/cart/v1.0/shipment
1curl -X GET "https://api.fynd.com/service/application/cart/v1.0/shipment"
2 -H 'Authorization: Bearer {authorization_token}'
Try it
Response
1{
2 "items": [],
3 "buy_now": false,
4 "cart_id": 7501,
5 "uid": "7501",
6 "success": true,
7 "error_message": "Note: Your order delivery will be delayed by 7-10 Days",
8 "payment_options": {
9 "payment_option": [
10 {
11 "name": "COD",
12 "display_name": "Cash on Delivery",
13 "display_priority": 1,
14 "payment_mode_id": 11,
15 "logo": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/cod.png",
16 "logo_url": {
17 "small": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/cod.png",
18 "large": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/cod.png"
19 },
20 "list": []
21 },
22 {
23 "name": "CARD",
24 "display_priority": 2,
25 "payment_mode_id": 2,
26 "display_name": "Card",
27 "list": []
28 },
29 {
30 "name": "NB",
31 "display_priority": 3,
32 "payment_mode_id": 3,
33 "display_name": "Net Banking",
34 "list": [
35 {
36 "aggregator_name": "Razorpay",
37 "bank_name": "ICICI Bank",
38 "bank_code": "ICIC",
39 "url": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/NB_ICICI.png",
40 "logo_url": {
41 "small": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/NB_ICICI.png",
42 "large": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/NB_ICICI.png"
43 },
44 "merchant_code": "NB_ICICI",
45 "display_priority": 1
46 }
47 ]
48 },
49 {
50 "name": "WL",
51 "display_priority": 4,
52 "payment_mode_id": 4,
53 "display_name": "Wallet",
54 "list": [
55 {
56 "wallet_name": "Paytm",
57 "wallet_code": "paytm",
58 "wallet_id": 4,
59 "merchant_code": "PAYTM",
60 "logo_url": {
61 "small": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/paytm_logo_small.png",
62 "large": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/paytm_logo_large.png"
63 },
64 "aggregator_name": "Juspay",
65 "display_priority": 1
66 }
67 ]
68 },
69 {
70 "name": "UPI",
71 "display_priority": 9,
72 "payment_mode_id": 6,
73 "display_name": "UPI",
74 "list": [
75 {
76 "aggregator_name": "UPI_Razorpay",
77 "name": "UPI",
78 "display_name": "BHIM UPI",
79 "code": "UPI",
80 "logo_url": {
81 "small": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/upi_100x78.png",
82 "large": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/upi_150x100.png"
83 },
84 "merchant_code": "UPI",
85 "timeout": 240,
86 "retry_count": 0,
87 "fynd_vpa": "shopsense.rzp@hdfcbank",
88 "intent_flow": true,
89 "intent_app_error_list": [
90 "com.csam.icici.bank.imobile",
91 "in.org.npci.upiapp",
92 "com.whatsapp"
93 ]
94 }
95 ]
96 },
97 {
98 "name": "PL",
99 "display_priority": 11,
100 "payment_mode_id": 1,
101 "display_name": "Pay Later",
102 "list": [
103 {
104 "aggregator_name": "Simpl",
105 "name": "Simpl",
106 "code": "simpl",
107 "merchant_code": "SIMPL",
108 "logo": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/simpl_logo.png",
109 "logo_url": {
110 "small": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/simpl_logo.png",
111 "large": "https://d2co8r51m5ca2d.cloudfront.net/payments_assets/simpl_logo.png"
112 }
113 }
114 ]
115 }
116 ],
117 "payment_flows": {
118 "Simpl": {
119 "data": {
120 "gateway": {
121 "route": "simpl",
122 "entity": "sdk",
123 "is_customer_validation_required": true,
124 "cust_validation_url": "https://api.addsale.com/gringotts/api/v1/validate-customer/",
125 "sdk": {
126 "config": {
127 "redirect": false,
128 "callback_url": null,
129 "action_url": "https://api.addsale.com/avis/api/v1/payments/charge-gringotts-transaction/"
130 },
131 "data": {
132 "user_phone": "8452996729",
133 "user_email": "paymentsdummy@gofynd.com"
134 }
135 },
136 "return_url": null
137 }
138 },
139 "api_link": "",
140 "payment_flow": "sdk"
141 },
142 "Juspay": {
143 "data": {},
144 "api_link": "https://sandbox.juspay.in/txns",
145 "payment_flow": "api"
146 },
147 "Razorpay": {
148 "data": {},
149 "api_link": "",
150 "payment_flow": "sdk"
151 },
152 "UPI_Razorpay": {
153 "data": {},
154 "api_link": "https://api.addsale.com/gringotts/api/v1/external/payment-initialisation/",
155 "payment_flow": "api"
156 },
157 "Fynd": {
158 "data": {},
159 "api_link": "",
160 "payment_flow": "api"
161 }
162 },
163 "default": {}
164 },
165 "user_type": "Store User",
166 "cod_charges": 0,
167 "order_id": null,
168 "cod_available": true,
169 "cod_message": "No additional COD charges applicable",
170 "delivery_charges": 0,
171 "delivery_charge_order_value": 0,
172 "delivery_slots": [
173 {
174 "date": "Sat, 24 Aug",
175 "delivery_slot": [
176 {
177 "delivery_slot_timing": "By 9:00 PM",
178 "default": true,
179 "delivery_slot_id": 1
180 }
181 ]
182 }
183 ],
184 "store_code": "",
185 "store_emps": [],
186 "breakup_values": {
187 "loyalty_points": {
188 "total": 0,
189 "applicable": 0,
190 "is_applied": false,
191 "description": "Your cashback, referrals, and refund amount get credited to Fynd Cash which can be redeemed while placing an order."
192 },
193 "coupon": {
194 "type": "cash",
195 "code": "",
196 "uid": "",
197 "value": 0,
198 "is_applied": false,
199 "message": "Sorry! Invalid Coupon"
200 },
201 "raw": {
202 "cod_charge": 0,
203 "convenience_fee": 0,
204 "coupon": 0,
205 "delivery_charge": 0,
206 "store_credit": 0,
207 "discount": 0,
208 "fynd_cash": 0,
209 "gst_charges": 214.18,
210 "mrp_total": 1999,
211 "mop_total": 0,
212 "total_charge": 10,
213 "subtotal": 1999,
214 "total": 1999,
215 "vog": 1784.82,
216 "you_saved": 0
217 },
218 "display": [
219 {
220 "display": "MRP Total",
221 "key": "mrp_total",
222 "value": 1999,
223 "currency_code": "INR"
224 },
225 {
226 "display": "Store Credit",
227 "key": "store_credit",
228 "value": 0,
229 "currency_code": "INR"
230 },
231 {
232 "display": "Subtotal",
233 "key": "subtotal",
234 "value": 1999,
235 "currency_code": "INR"
236 },
237 {
238 "display": "Total",
239 "key": "total",
240 "value": 1999,
241 "currency_code": "INR"
242 }
243 ]
244 },
245 "shipments": [
246 {
247 "fulfillment_id": 3009,
248 "shipment_type": "single_shipment",
249 "order_type": "HomeDelivery",
250 "fulfillment_type": "store",
251 "dp_id": "29",
252 "dp_options": {
253 "4": {
254 "f_priority": 4,
255 "r_priority": 5,
256 "is_cod": true,
257 "is_prepaid": true,
258 "is_reverse": true
259 },
260 "7": {
261 "f_priority": 3,
262 "r_priority": 4,
263 "is_cod": true,
264 "is_prepaid": true,
265 "is_reverse": true
266 },
267 "29": {
268 "f_priority": 1,
269 "r_priority": 2,
270 "is_cod": true,
271 "is_prepaid": true,
272 "is_reverse": true
273 }
274 },
275 "promise": {
276 "timestamp": {
277 "min": 1566678108,
278 "max": 1567023708
279 },
280 "formatted": {
281 "min": "Aug 24",
282 "max": "Aug 28"
283 },
284 "iso": {
285 "min": "2019-08-25T00:35:08.000Z",
286 "max": "2019-08-29T07:55:08.000Z"
287 }
288 },
289 "box_type": "Small Courier bag",
290 "shipments": 1,
291 "items": [
292 {
293 "quantity": 1,
294 "identifiers": {},
295 "product": {
296 "type": "product",
297 "uid": 820312,
298 "name": "Navy Blue Melange Shorts",
299 "slug": "883-police-navy-blue-melange-shorts-820312-4943a8",
300 "brand": {
301 "uid": 610,
302 "name": "883 Police"
303 },
304 "categories": [
305 {
306 "uid": 193,
307 "name": "Shorts"
308 }
309 ],
310 "images": [
311 {
312 "aspect_ratio": "16:25",
313 "url": "http://cdn4.gofynd.com/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg",
314 "secure_url": "https://d2zv4gzhlr4ud6.cloudfront.net/media/pictures/tagged_items/original/610_SPIRAL19ANAVY/1_1549105947281.jpg"
315 }
316 ],
317 "action": {
318 "type": "product",
319 "url": "https://api.addsale.com/platform/content/v1/products/883-police-navy-blue-melange-shorts-820312-4943a8/",
320 "query": {
321 "product_slug": [
322 "883-police-navy-blue-melange-shorts-820312-4943a8"
323 ]
324 }
325 }
326 },
327 "discount": "",
328 "bulk_offer": {},
329 "key": "820312_L",
330 "price": {
331 "base": {
332 "add_on": 1999,
333 "marked": 1999,
334 "effective": 1999,
335 "selling": 1999,
336 "currency_code": "INR"
337 },
338 "converted": {
339 "add_on": 1999,
340 "marked": 1999,
341 "effective": 1999,
342 "selling": 1999,
343 "currency_code": "INR"
344 }
345 },
346 "article": {
347 "type": "article",
348 "uid": "381_610_IGPL01_SPIRAL19ANAVY_L",
349 "size": "L",
350 "seller": {
351 "uid": 381,
352 "name": "INTERSOURCE GARMENTS PVT LTD"
353 },
354 "store": {
355 "uid": 3009,
356 "name": "Kormangala"
357 },
358 "quantity": 2,
359 "tags": [],
360 "price": {
361 "base": {
362 "marked": 1999,
363 "effective": 1999,
364 "currency_code": "INR"
365 },
366 "converted": {
367 "marked": 1999,
368 "effective": 1999,
369 "currency_code": "INR"
370 }
371 }
372 },
373 "charges": [
374 {
375 "type": "convenience fee",
376 "name": "convenience fee",
377 "code": "convenience fee",
378 "amount": {
379 "value": 10,
380 "currency": "INR"
381 },
382 "meta": {
383 "price_adjustment_id": "64c22d66fe278c0796bd8e4d",
384 "article_level_distribution": true
385 }
386 }
387 ],
388 "availability": {
389 "sizes": [
390 "L",
391 "XL",
392 "XXL"
393 ],
394 "other_store_quantity": 1,
395 "out_of_stock": false,
396 "deliverable": true,
397 "is_valid": true
398 },
399 "coupon_message": "",
400 "message": ""
401 }
402 ]
403 }
404 ],
405 "delivery_charge_info": "",
406 "coupon_text": "View all offers",
407 "gstin": "",
408 "checkout_mode": "self",
409 "last_modified": "2020-03-09T00:00:00.000Z",
410 "restrict_checkout": false,
411 "is_valid": true,
412 "custom_cart_meta": {
413 "test": "test"
414 }
415}