capabilities.work

Add a product to the cart

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

Get something done

Add a product to the cart

Use WooCommerce: its WooCommerce Store Cart API lets you add a product to the cart in a single step (POST /cart/add-item). capabilities.work can help you get signed up and connected.

  • How do I add a product to the cart from the storefront?
  • Can I add a variable product with specific attributes to the cart?
Say it to your AI assistant
  • Add product {id} to the cart with quantity {quantity}.
  • Add product {id} with variation {variation} to the cart, {quantity} of them.
For your developer

POST /cart/add-item in WooCommerce Store Cart API. Full spec on APIs.io.