Skip to main content

6 docs tagged with "cart"

View all tags

cartAddItem

Adds an item to the cart via the addToCart mutation.

cartApplyCode

Apply a discount code to the cart and return the updated totals/items.

cartBuyNow

Creates a fast cart/session for a single product and returns checkout URL/encryption key.

cartRemoveItem

Removes a cart line item by ID and returns the updated cart.

cartUpdateItem

Updates the quantity of an existing cart line item and returns the refreshed cart snapshot.

checkout

Fetch the current cart (items, totals, coupon state) during checkout.