App Logo
aliexpress.com

Add AliExpress product to cart

Automatically add AliExpress product to cart on aliexpress.com. Add an AliExpress product to the cart of this browser from its id or product page link, with an optional sku_id (the variant: color, size) and a quantity from 1 to 10, and return the cart afterwards: each line with its line id, product id, offer id (the sku id), name, seller, quantity, unit price and line price, plus the unit count and the total. Without sku_id, the variant the product page selects is added. Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. An unknown product, a product AliExpress does not sell in the browser's region, an unknown or sold-out sku and a link that is not a product page fail with an error.

Inputs

product required

AliExpress product id (the id of Search AliExpress products) or the link of a product page (https://www.aliexpress.com/item/<id>.html, any country site).

sku_id optional

Sku id of the variant to add (color, size...), from the variants of Get AliExpress product. Leave out to add the variant the product page selects.

quantity optional

Number of units to add, 1 to 10.

Default: 1

Output

name required
added required

Number of units added.

count required

Number of units in the cart after the add.

lines required
total required

Sum of the line prices, shipping not included.

offerId required

The sku id that was added.

productId required
currency optional

FAQ

Add an AliExpress product to the cart of this browser from its id or product page link, with an optional sku_id (the variant: color, size) and a quantity from 1 to 10, and return the cart afterwards: each line with its line id, product id, offer id (the sku id), name, seller, quantity, unit price and line price, plus the unit count and the total. Without sku_id, the variant the product page selects is added. Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. An unknown product, a product AliExpress does not sell in the browser's region, an unknown or sold-out sku and a link that is not a product page fail with an error.
Ask an AI agent connected to Reduck to run reduck/aliexpress.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/aliexpress.com/add_to_cart
You do not need one. "Add AliExpress product to cart" drives the real aliexpress.com pages in a browser, so it works whether or not aliexpress.com offers an API for this.
Required: product. Optional: sku_id, quantity.
It returns name, added, count, lines, total, offerId, currency, productId.
No. It only uses pages of aliexpress.com that are reachable without signing in.
It makes changes on aliexpress.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/aliexpress.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/aliexpress.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking