Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create and manage shopping carts via the Storefront API.
cart
query Cart($uid: UUID!) { cart(uid: $uid) { uid lineItems { uid product { uid name } quantity createdAt } createdAt updatedAt } }
createCart
mutation CreateCart($input: CreateCartInput!) { createCart(input: $input) { success data { uid } } }
storeUid
UUID
addToCart
mutation AddToCart($input: AddToCartInput!) { addToCart(input: $input) { success data { uid lineItems { uid product { uid name } quantity } } } }
cartUid
productUid
quantity
Int
updateCartLine
mutation UpdateCartLine($input: UpdateCartLineInput!) { updateCartLine(input: $input) { success data { uid lineItems { uid quantity } } } }
lineItemUid
removeCartLine
mutation RemoveCartLine($input: RemoveCartLineInput!) { removeCartLine(input: $input) { success data { uid lineItems { uid } } } }
uid
lineItems
[CartLineItem]
createdAt
DateTime
updatedAt
product
Product