App Logo
nykaa.com

Add a product to the Nykaa bag

Automatically add a product to the Nykaa bag on nykaa.com. Add a product of the Nykaa India store (nykaa.com) to the bag of this browser, in the quantity you give. A product with shades or sizes needs variantId, from get-product. It returns the product id added and the bag after the change (lines, units, grand total in Indian rupees). It refuses an unknown product, a missing or wrong shade or size, a product out of stock, and a quantity below 1 or above the limit Nykaa sets for the product. It adds to the guest bag when nobody is signed in; Nykaa needs no delivery pincode for it. It never goes to checkout.

Inputs

productId required

Nykaa product id, as search-products or get-product returns it.

quantity optional

Number of units to add. Nykaa sets a limit for each product, often 10.

Default: 1
variantId optional

Shade or size id from the variants of get-product. Required when the product has shades or sizes.

Output

name required
added required
count required

Number of units in the bag.

lines required
total required

Grand total of the bag in Indian rupees. Null when the bag is empty.

offerId required
currency required

INR

productId required

Id that was added (the shade or size id for a product with variants).

FAQ

Add a product of the Nykaa India store (nykaa.com) to the bag of this browser, in the quantity you give. A product with shades or sizes needs variantId, from get-product. It returns the product id added and the bag after the change (lines, units, grand total in Indian rupees). It refuses an unknown product, a missing or wrong shade or size, a product out of stock, and a quantity below 1 or above the limit Nykaa sets for the product. It adds to the guest bag when nobody is signed in; Nykaa needs no delivery pincode for it. It never goes to checkout.
Ask an AI agent connected to Reduck to run reduck/nykaa.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/nykaa.com/add_to_cart
You do not need one. "Add a product to the Nykaa bag" drives the real nykaa.com pages in a browser, so it works whether or not nykaa.com offers an API for this.
Required: productId. Optional: quantity, variantId.
It returns name, added, count, lines, total, offerId, currency, productId.
No. It only uses pages of nykaa.com that are reachable without signing in.
It makes changes on nykaa.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/nykaa.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/nykaa.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking