Skip to content

Customer Active Cart Items

Items the customer has in their own active storefront cart (carts.is_active = 1) — distinct from the admin draft cart being built. The Create-Order screen's right-sidebar shows these so the admin can pull items into the draft.

EndpointMethod
/api/admin/customers/{customerId}/cart-itemsGET

Response Fields

Returns the standard { data, meta } envelope. Each row in data:

FieldTypeDescription
idintegerCart item ID.
productIdintegerThe product.
skustringProduct SKU.
typestringProduct type.
namestringProduct name.
quantityintegerQuantity in the cart.
pricenumberUnit price.
formattedPricestringCurrency-formatted unit price.
totalnumberLine total.
formattedTotalstringCurrency-formatted line total.
additionalobject | nullExtra item attributes (options, quantity).

Returns only top-level items (cart_items.parent_id IS NULL). Empty data array when the customer has no active cart. Requires an admin Bearer token.

TIP

For how the Create-Order helper panels fit together, see the Create-Order Helpers overview.

Released under the MIT License.