The cart detail api is not returning vertical code

By default the cart detail api is loading with cart_type query parameter on page load on cart page. It’s not returning vertical code. But add item to cart api and remove item to cart api both are not passing cart_type,Then vertical code is coming from the api. Below I have shared screenshot for reference.

https://jiomartplaypitcompany.jiox1.de/ext/shipmentfee/cart/v1.0/detail?b=true&cart_type=universal&i=true

with cart_type

https://jiomartplaypitcompany.jiox1.de/api/service/application/cart/v1.0/detail?b=true&i=true

with out cart_type

Right now we are started work on merge cart related thing in JCP. Please help us to resolve it.

1 Like

@devendrapathi.raju , please check now. It is working for me.

curl ‘https://jiomartplaypitcompany.jiox1.de/api/service/application/cart/v1.0/detail?b=true&cart_type=universal&i=true
-H ‘Accept: application/json, text/plain, /
-H ‘Accept-Language: en-GB,en-US;q=0.9,en;q=0.8’
-H ‘Authorization: Bearer NjRiMDAyZTEzODZiYWU1OGY4NTZmMDZkOnNmcTdKNDdYNQ==’
-H ‘Cache-Control: no-cache’
-H ‘Connection: keep-alive’
-H ‘Cookie: _fw_crm_v=b19b5669-792c-425b-9b91-12bcc7c61897; WZRK_G=4866f9904679490484c4064e40e1192a; _fbp=fb.1.1692253371116.438946733; _ga_442GM95NLE=GS1.1.1692886776.2.1.1692886835.0.0.0; __stripe_mid=db943529-fc68-46f7-ba67-b1a3ab1881ea5e7947; _ga_F1NJ1E2HJ2=GS1.1.1694001229.6.1.1694001297.0.0.0; _ga_2ECQK3HT2W=GS1.1.1694713532.6.0.1694713532.0.0.0; anonymous_id=bbec3e323a264857800a14b490dd5722; old_browser_anonymous_id=bbec3e323a264857800a14b490dd5722; ajs_anonymous_id=4ad36cf997e34e8e9678bcde07075877; _ga_F0SPC3JW5J=GS1.1.1704992848.1.0.1704992853.55.0.0; _ga_QDXDSM4W55=GS1.1.1707731558.4.0.1707731558.0.0.0; _gcl_au=1.1.1135796878.1711014408; _ga_Z5VHE72Q2F=GS1.1.1715251089.9.0.1715251145.0.0.0; f.session=s%3Ac1v5E8hqU6pP1JSToKcjkjpNSaoaiC2P.pb85lB9nMCbXDPfiq%2Fg4g%2BYR0Vxrat8dMHS6foVpq%2Bc; _ga_TKHKM52Q5T=GS1.1.1716449002.3.0.1716449002.0.0.0; _gid=GA1.2.2064951024.1716905204; x.session=s%3An51-4kHRJkjYdeZZNzMQu73EuTrUOPfi.9SyFBsFVTFwUE4PWSVE%2BIe5TNd8HF3%2BplDt9DDpx%2BFk; organizationId=64b003218f39a39ec141e0e1; company_id=4; _ga_M20NJWL0VQ=GS1.1.1716969292.57.0.1716969292.0.0.0; app_location_details=%7B%22country%22%3A%22INDIA%22%2C%22country_iso_code%22%3A%22IN%22%2C%22pincode%22%3A%22400001%22%2C%22city%22%3A%22MUMBAI%22%2C%22state%22%3A%22MAHARASHTRA%22%7D; _ga=GA1.2.421328430.1689257993; _ga_NM8QKNK0HR=GS1.2.1716995963.62.0.1716995963.0.0.0; WZRK_S_98R-W4Z-495Z=%7B%22p%22%3A1%2C%22s%22%3A1716995963%2C%22t%22%3A1716996107%7D; _ga_SV18EVS7QN=GS1.1.1716995963.80.1.1716996239.0.0.0’
-H ‘Pragma: no-cache’
-H ‘Sec-Fetch-Dest: empty’
-H ‘Sec-Fetch-Mode: cors’
-H ‘Sec-Fetch-Site: same-origin’
-H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36’
-H ‘sec-ch-ua: “Google Chrome”;v=“123”, “Not:A-Brand”;v=“8”, “Chromium”;v=“123”’
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-platform: “macOS”’
-H ‘x-currency-code: INR’
-H ‘x-fp-date: 20240529T152404Z’
-H ‘x-fp-sdk-version: 1.4.6-alpha.1716815082’
-H ‘x-fp-signature: v1.1:94e6337e22acb33d42a91c6f6292ff48b21dd1033f57b511054f87554bb98473’
-H ‘x-location-detail: {“country_iso_code”:“IN”,“country”:“INDIA”,“pincode”:“400001”,“city”:“MUMBAI”,“state”:“MAHARASHTRA”}’


Getting "vertical-code": "ELECTRONICS"