Skip to content

Get Cart

Returns the admin draft cart. The REST endpoint (GET /api/admin/carts/{id}) returns the full payload — items, totals, addresses, payment method. Over GraphQL the resource exposes its id (IRI) and _id (integer); scalar camelCase fields (customerId, isActive, grandTotal, ...) currently serialise to null over GraphQL due to a project-wide API Platform quirk affecting all admin output resources. For the populated payload, use the REST endpoint.

Operation

OperationTypePurpose
adminCart(id: ID!)QueryRead a draft cart

Released under the MIT License.