Enkash Developer Portal
Home
Home
Login
  1. Redemption
  • Back to home
  • Reward APIs
  • Token APIs
    • Authentication
    • Single Sign On (SSO)
  • Reward Allocation
    • Create And Allocate Points
    • Bulk Create And Allocate Rewards
    • Get Reward Account Details
    • Get Reward Transaction Details
    • Get User Details
    • Get User Card Details
  • Incentive Allocation
    • Incentive Create And Allocation
    • Get Incentive Transaction details
    • Get User Details
  • Redemption
    • User Authentication
      POST
    • Get Cart for User
      GET
    • Search Catalog
      POST
    • Get Product Catalog Details
      GET
    • Get Product Configs (Denominations)
      GET
    • Add to cart
      POST
    • Update Cart
      PATCH
    • Create Order
      POST
    • Order Search
      POST
    • create order
      POST
    • Fetch Order Info by Partner order Reference id
      POST
  • Point Management
    • Overview
    • Create Event
    • Get Event
    • Update Event
    • Allocate Coins
    • Get Balance
  1. Redemption

Get Cart for User

Developing
GET
/api/v0/cart

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v0/cart?product=VOUCHER'

Responses

🟢200Success
application/json
Body

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.00,"sellRate":100.00,"enkashDiscount":0.00,"savings":0.00,"quantity":2,"total":200.00}},"totalQuantity":2,"totalAmount":200.00,"totalSavings":0.0,"termsAndCondition":"This is Sample Test Product","productConfigs":[{"productConfigId":"PCN155416196E3971","mrp":250.00,"sellRate":250.00,"enkashDiscount":0.00,"maxQuantity":30,"customAmountEnabled":false},{"productConfigId":"PCN907270990HasdK26M","mrp":1000.00,"sellRate":1000.00,"enkashDiscount":0.00,"maxQuantity":30,"customAmountEnabled":false},{"productConfigId":"PCN724771408NCGasd","mrp":100.00,"sellRate":100.00,"enkashDiscount":0.00,"maxQuantity":30,"customAmountEnabled":false},{"productConfigId":"PCN5915678VIB1A121","mrp":500.00,"sellRate":500.00,"enkashDiscount":0.00,"maxQuantity":30,"customAmountEnabled":false}],"howToRedeem":"This is Sample Test Product"}],"response_code":0,"response_message":"Success"}
Modified at 2024-09-02 11:58:39
Previous
User Authentication
Next
Search Catalog
Built with