TanqoryDocs

Cart

  • Object
  • Storefront

A buyer's cart: its lines, costs, buyer identity, delivery details, discount and gift card codes, attributes and note, and the checkoutUrl to pay for it.

Implements HasMetafields, Node.

Fields

FieldTypeDescription
appliedGiftCards[AppliedGiftCard!]!
attributeAttribute
attributes[Attribute!]!
buyerIdentityCartBuyerIdentity!
checkoutUrlURL!
costCartCost!
createdAtDateTime!
deliveryCartDelivery!
deliveryGroupsCartDeliveryGroupConnection!
discountAllocations[CartDiscountAllocation!]!

Deprecated

discountApplications[BaseCartDiscountApplication!]!
discountCodes[CartDiscountCode!]!
estimatedCostCartEstimatedCost!

Deprecated

idID!
linesBaseCartLineConnection!
metafieldMetafield
metafields[Metafield]!
noteString
totalQuantityInt!
updatedAtDateTime!
tanqoryExtTipMoneyV2

The buyer's tip set with tanqoryExtCartTipUpdate, in the cart's currency; null when there is none. Needs the cart's key (null without it). Private token only.

tanqoryExtDutiesEstimateTanqoryExtDutiesEstimate

The duties and import taxes of the cart's destination, in the cart's currency; null when none applies (a domestic or intra-EU order, duties not turned on for the destination's market, no goods that ship, a value within the de minimis, or no figure from the merchant's rates or the provider yet). incoterm says what it is: DAP, an estimate due on delivery, never in cost.totalAmount, cost.checkoutChargeAmount or the payment amount; DDP, charged at checkout (collected: in the total, also as cost.totalDutyAmount). Needs the cart's key (null without it). Private token only.

tanqoryExtDutiesTermsTanqoryExtDutiesIncoterm

The terms the order is sold on when its destination's market is in "Collect in" (duties turned on, a destination across a customs border): DDP when checkout charges the duties and import taxes or the prices include them; DAP when the buyer may pay them on delivery (a DAP market, or a DDP market for which no amount could be calculated: that order is sold DAP). Null otherwise. Needs the cart's key (null without it). Private token only.

tanqoryExtTaxTanqoryExtCartTax

The checkout's tax for the selected delivery address, as the order will book it; null before an address is selected. Needs the cart's key (null without it). Private token only.

tanqoryExtAppliedStoreCreditTanqoryExtAppliedStoreCredit

What the checkout takes from the signed-in buyer's store credit now (after the gift cards, at most the amount asked for with tanqoryExtCheckoutStoreCreditApply, the balance and what is left to pay); null when none applies. Already deducted from cost.checkoutChargeAmount. Private token only.

Returned by

Used in fields

Built from commit c0b3fb3fdef7 · API version 2026-10