Schema Documentation

CartItem

Description

A item in the cart

Fields
Field NameDescription
extraData - [MetaData] Object meta data
Arguments
key - String

Retrieve meta by key

keysIn - [String]

Retrieve multiple metas by key

key - ID! CartItem ID
product - CartItemToProductConnectionEdge Connection between the CartItem type and the Product type
quantity - Int Quantity of the product
subtotal - String Item's subtotal
Arguments
format - PricingFieldFormatEnum

Format of the price

subtotalTax - String Item's subtotal tax
Arguments
format - PricingFieldFormatEnum

Format of the price

tax - String Item's tax
Arguments
format - PricingFieldFormatEnum

Format of the price

total - String Item's total
Arguments
format - PricingFieldFormatEnum

Format of the price

variation - CartItemToProductVariationConnectionEdge Connection between the CartItem type and the ProductVariation type
Example
{"extraData":[MetaData],"key":4,"product":CartItemToProductConnectionEdge,"quantity":987,"subtotal":"abc123","subtotalTax":"xyz789","tax":"xyz789","total":"xyz789","variation":CartItemToProductVariationConnectionEdge}