Skip to content

Customer Active Cart Items (GraphQL)

Lists the items in the customer's own active storefront cart (carts.is_active = 1), top-level items only. The admin Create-Order screen shows this in its sidebar so the admin can pull items the customer already added into the draft order. This is distinct from the admin draft cart.

Arguments

ArgumentTypeRequiredDescription
customerIdInt!yesThe customer whose active cart to read. Returns an empty connection if the customer has no active cart.

See the Customers overview for how the Create-Order sidebar panels work.

Released under the MIT License.