capabilities.work

Add a product to a cart

One step with Optimizely. We can help you get access.

Get something done

Add a product to a cart

with Optimizely · Cart & Checkout

Use Optimizely: its Storefront API V1 Carts API lets you add a product to a cart in a single step (POST /api/v1/carts/{cartId}/cartlines). capabilities.work can help you get signed up and connected.

  • How do I add a product with a quantity to a cart?
  • Can I add an item to a cart with a line note?
Say it to your AI assistant
  • Add {qtyOrdered} of product {productId} to cart {cartId}.
  • Put product {productId} in cart {cartId} with quantity {qtyOrdered} and note {notes}.
For your developer

POST /api/v1/carts/{cartId}/cartlines in Storefront API V1 Carts API. Full spec on APIs.io.