App Logo
ebay.com

Add eBay item to cart

Automatically add eBay item to cart on ebay.com. Add an eBay (ebay.com) Buy It Now item to your cart by item id, with an optional quantity, as a guest or signed in. For a listing with variations (size, color...), pass variation_id. Returns the item's cart line after the add (title, seller, quantity, unit price, line total, shipping), the cart's item count and subtotal, and whether it is a guest cart. A listing that does not exist, has ended, or sells only by auction fails with a message that says so. Never checks out.

Inputs

product required

eBay item id (e.g. 366835648867) or listing link (https://www.ebay.com/itm/...), as search-products returns it.

quantity optional

Number of units to add, 1 to 10.

Default: 1
variation_id optional

For a listing with variations (size, color...), the variation to add: the var value of the listing link (ebay.com/itm/<id>?var=<variation_id>). Leave out otherwise.

Output

name required
added required

Units this run added. Lower than quantity when the seller has fewer units left.

count required

Total quantity in the cart.

lines required
total required

Cart subtotal eBay shows, items and shipping, in the cart currency (USD on ebay.com).

productId required

eBay item id added.

offerId optional

Variation added, for a multi-variation listing; null otherwise.

FAQ

Add an eBay (ebay.com) Buy It Now item to your cart by item id, with an optional quantity, as a guest or signed in. For a listing with variations (size, color...), pass variation_id. Returns the item's cart line after the add (title, seller, quantity, unit price, line total, shipping), the cart's item count and subtotal, and whether it is a guest cart. A listing that does not exist, has ended, or sells only by auction fails with a message that says so. Never checks out.
Ask an AI agent connected to Reduck to run reduck/ebay.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ebay.com/add_to_cart
You do not need one. "Add eBay item to cart" drives the real ebay.com pages in a browser, so it works whether or not ebay.com offers an API for this.
Required: product. Optional: quantity, variation_id.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of ebay.com that are reachable without signing in.
It makes changes on ebay.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/ebay.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ebay.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking