Schema Documentation

CartItem

Description

Cart item interface.

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

Retrieve meta by key

keysIn - [String]

Retrieve multiple metas by key

id - ID! The globally unique ID for the object
key - ID! CartItem ID
product - CartItemToProductConnectionEdge Connection between the CartItem type and the Product type
Arguments
where - CartItemToProductConnectionWhereArgs

Arguments for filtering the connection

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],"id":4,"key":"4","product":CartItemToProductConnectionEdge,"quantity":123,"subtotal":"abc123","subtotalTax":"xyz789","tax":"abc123","total":"xyz789","variation":CartItemToProductVariationConnectionEdge}