Add item in wishlist (09/02)

Fire this api to add item in wishlist.

/This endpoint allows you to get free cakes

GET https://castleindia.in/emart/public /api/wishlist/add/{variantid} /api/wishlist/add/{variantid}

Path Parameters

Name
Type
Description

variantid

String

ID of the variant.

Headers

Name
Type
Description

Accept

String

application/json

Authorization

String

Bearer { bearer_token without brackets }

Request Body

Name
Type
Description

collectionid

Integer

ID of the collection if you want to add item in collection too.

{
    "msg": "Item is added to your wishlist !",
    "status": "fail"
}

IF response fail

{
    "msg": "Item is already in your wishlist !",
    "status": "fail"
}

{
    "msg": "You're not logged in !",
    "status": "fail"
}

Last updated