Cart object

A cart represents the merchandise that a buyer intends to purchase, and the estimated cost associated with the cart.

Connections

  • A list of lines containing information about the items the customer intends to purchase.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • attributes ([Attribute!]!)

    The attributes associated with the cart. Attributes are represented as key-value pairs.

  • buyerIdentity (CartBuyerIdentity!)

    Information about the buyer that is interacting with the cart.

  • checkoutUrl (URL!)

    The URL of the checkout for the cart.

  • createdAt (DateTime!)

    The date and time when the cart was created.

  • discountCodes ([CartDiscountCode!]!)

    The discount codes that have been applied to the cart.

  • estimatedCost (CartEstimatedCost!)

    The estimated costs that the buyer will pay at checkout.

  • id (ID!)

    A globally-unique identifier.

  • note (String)

    A note that is associated with the cart. For example, the note can be a personalized message to the buyer.

  • updatedAt (DateTime!)

    The date and time when the cart was updated.

Types that return Cart

Mutations for Cart

Implements

A cart represents the merchandise that a buyer intends to purchase, and the estimated cost associated with the cart.

Connections

  • A list of lines containing information about the items the customer intends to purchase.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • attributes ([Attribute!]!)

    The attributes associated with the cart. Attributes are represented as key-value pairs.

  • buyerIdentity (CartBuyerIdentity!)

    Information about the buyer that is interacting with the cart.

  • checkoutUrl (URL!)

    The URL of the checkout for the cart.

  • createdAt (DateTime!)

    The date and time when the cart was created.

  • discountCodes ([CartDiscountCode!]!)

    The discount codes that have been applied to the cart.

  • estimatedCost (CartEstimatedCost!)

    The estimated costs that the buyer will pay at checkout.

  • id (ID!)

    A globally-unique identifier.

  • note (String)

    A note that is associated with the cart. For example, the note can be a personalized message to the buyer.

  • updatedAt (DateTime!)

    The date and time when the cart was updated.

Types that return Cart

Mutations for Cart

Implements