capabilities.work

List the line items in a cart

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

Look something up

List the line items in a cart

with Optimizely · Cart & Checkout

Use Optimizely: its Storefront API V1 Carts API lets you list the line items in a cart in a single step (GET /api/v1/carts/{cartId}/cartlines). capabilities.work can help you get signed up and connected.

  • What products are in a customer's cart right now?
  • Can I page through the line items of a large cart?
Say it to your AI assistant
  • List the lines in cart {cartId}.
  • Show page {page} of cart {cartId} line items.
For your developer

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