App Logo
petsmart.com

Add a product to the PetSmart cart

Automatically add a product to the PetSmart cart on petsmart.com. Add a PetSmart product to the cart as a one-time purchase.

Inputs

product required

Product id (SKU or master id) or product link.

variant optional

SKU of the size or flavor to add, from get-product variants. Without it, the SKU the product id or link names.

quantity optional
Default: 1

Output

added required
count required
lines required
productId required
name optional
total optional

Item subtotal in USD, without tax and shipping.

offerId optional

FAQ

Add a PetSmart product to the cart as a one-time purchase.
Ask an AI agent connected to Reduck to run reduck/petsmart.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/petsmart.com/add_to_cart
You do not need one. "Add a product to the PetSmart cart" drives the real petsmart.com pages in a browser, so it works whether or not petsmart.com offers an API for this.
Required: product. Optional: variant, quantity.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of petsmart.com that are reachable without signing in.
It makes changes on petsmart.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/petsmart.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/petsmart.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking