CartLine object

Represents information about the merchandise in the cart.

Required access

unauthenticated_read_checkouts access scope.

Fields

  • attributes ([Attribute!]!)

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

  • discountAllocations ([CartDiscountAllocation!]!)

    The discounts that have been applied to the cart line.

  • estimatedCost (CartLineEstimatedCost!)

    The estimated cost of the merchandise that the buyer will pay for at checkout.

  • id (ID!)

    Globally unique identifier.

  • merchandise (Merchandise!)

    The merchandise that the buyer intends to purchase.

  • quantity (Int!)

    The quantity of the merchandise that the customer intends to purchase.

  • sellingPlanAllocation (SellingPlanAllocation)

    The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.

Types that return CartLine

Mutations for CartLine

Implements

An auto-generated type for paginating through multiple CartLines.

Fields

Types that return CartLine

Mutations for CartLine