Add Item in User Cart (13/01)
Add another item in user cart by firing this api.
This endpoint allows you to add items in cart
GET
https://castleindia.in/emart/public /api/addtocart /api/addtocart
Headers
Name
Type
Description
String
application/json
String
Bearer { bearer_token } goes here.
Request Body
Name
Type
Description
variantid*
Integer
Id of product if adding variant or simple product in cart
Send type
type*
String
v = Variant product s = Simple Product
quantity*
integer
Item quantity in cart.
currency*
String
Currency code eg : INR
IF response fail
Last updated