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
| Field | Type | Description |
|---|---|---|
appliedGiftCards | [AppliedGiftCard!]! | |
attribute | Attribute |
|
attributes | [Attribute!]! | |
buyerIdentity | CartBuyerIdentity! | |
checkoutUrl | URL! | |
cost | CartCost! | |
createdAt | DateTime! | |
delivery | CartDelivery! | |
deliveryGroups | CartDeliveryGroupConnection! | |
discountAllocations | [CartDiscountAllocation!]! | Deprecated |
discountApplications | [BaseCartDiscountApplication!]! | |
discountCodes | [CartDiscountCode!]! | |
estimatedCost | CartEstimatedCost! | Deprecated |
id | ID! | |
lines | BaseCartLineConnection! | |
metafield | Metafield | |
metafields | [Metafield]! |
|
note | String | |
totalQuantity | Int! | |
updatedAt | DateTime! | |
tanqoryExtTip | MoneyV2 | 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. |
tanqoryExtDutiesEstimate | TanqoryExtDutiesEstimate | 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). |
tanqoryExtDutiesTerms | TanqoryExtDutiesIncoterm | 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. |
tanqoryExtTax | TanqoryExtCartTax | 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. |
tanqoryExtAppliedStoreCredit | TanqoryExtAppliedStoreCredit | 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
cartquery
Used in fields
CartAttributesUpdatePayload.cartCartBillingAddressUpdatePayload.cartCartBuyerIdentityUpdatePayload.cartCartClonePayload.cartCartCreatePayload.cartCartDeliveryAddressesAddPayload.cartCartDeliveryAddressesRemovePayload.cartCartDeliveryAddressesReplacePayload.cartCartDeliveryAddressesUpdatePayload.cartCartDiscountCodesUpdatePayload.cartCartGiftCardCodesAddPayload.cartCartGiftCardCodesRemovePayload.cartCartGiftCardCodesUpdatePayload.cartCartLinesAddPayload.cartCartLinesRemovePayload.cartCartLinesUpdatePayload.cartCartNoteUpdatePayload.cartCartPaymentUpdatePayload.cartCartRemovePersonalDataPayload.cartCartSelectedDeliveryOptionsUpdatePayload.cartCartStatusNotReady.cartCartStatusReady.cartCartThrottled.cartQueryRoot.cartTanqoryExtCartExtrasPayload.cartTanqoryExtCartPaymentOptionSelectPayload.cart