Get Cart for User
DevelopingGET
/api/v0/cartRequest
Query Params
product
string
required
Example:
VOUCHER
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
payload
array [object {12}]
required
id
integer
optional
ekUserId
string
optional
productCatalogId
string
optional
name
string
optional
logoUrl
string
optional
items
object
optional
totalQuantity
integer
optional
totalAmount
integer
optional
totalSavings
integer
optional
termsAndCondition
string
optional
productConfigs
array [object {6}]
optional
howToRedeem
string
optional
response_code
integer
required
response_message
string
required
Example
{
"payload": [
{
"id": 2133,
"ekUserId": "EK8IHN4B",
"productCatalogId": "PC235129857G58ZX",
"name": "Myntra Test",
"logoUrl": "https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/1ed1458b-5541-4f25-d5a3-67f18db42800/public",
"items": {
"PCN724771408NCGasd": {
"productConfigId": "PCN724771408NCGasd",
"mrp": 100,
"sellRate": 100,
"enkashDiscount": 0,
"savings": 0,
"quantity": 2,
"total": 200
}
},
"totalQuantity": 2,
"totalAmount": 200,
"totalSavings": 0,
"termsAndCondition": "This is Sample Test Product",
"productConfigs": [
{
"productConfigId": "PCN155416196E3971",
"mrp": 250,
"sellRate": 250,
"enkashDiscount": 0,
"maxQuantity": 30,
"customAmountEnabled": false
},
{
"productConfigId": "PCN907270990HasdK26M",
"mrp": 1000,
"sellRate": 1000,
"enkashDiscount": 0,
"maxQuantity": 30,
"customAmountEnabled": false
},
{
"productConfigId": "PCN724771408NCGasd",
"mrp": 100,
"sellRate": 100,
"enkashDiscount": 0,
"maxQuantity": 30,
"customAmountEnabled": false
},
{
"productConfigId": "PCN5915678VIB1A121",
"mrp": 500,
"sellRate": 500,
"enkashDiscount": 0,
"maxQuantity": 30,
"customAmountEnabled": false
}
],
"howToRedeem": "This is Sample Test Product"
}
],
"response_code": 0,
"response_message": "Success"
}
Last modified: 4 months ago