[Go to site: main page, start]

Skip to navigation

Cart

OBJECT
A cart

Fields

idStringRequired
The ID of an object
entityIdStringRequired
Cart ID.
currencyCodeStringRequired

ISO-4217 currency code.

displayCurrencyCodeStringRequired

ISO-4217 currency code. Applied DisplayCurrencyCode for the cart.

isTaxIncludedBooleanRequired
Whether this item is taxable.
baseAmountMoneyRequired
Cost of cart's contents, before applying discounts.
baseAmountInDisplayCurrencyMoneyRequired
Base amount in display currency.
discountedAmountMoneyRequired
Discounted amount.
discountedAmountInDisplayCurrencyMoneyRequired
Discounted amount in display currency.
amountMoneyRequired

Sum of line-items amounts, minus cart-level discounts and coupons. This amount includes taxes (where applicable).

amountInDisplayCurrencyMoneyRequired
Amount in display currency.
discountslist of CartDiscountsRequired
List of discounts applied to this cart.
lineItemsCartLineItemsRequired
List of line items.
createdAtDateTimeExtendedRequired
Time when the cart was created.
updatedAtDateTimeExtendedRequired
Time when the cart was last updated.
localeStringRequired
Locale of the cart.
metafieldsMetafieldConnectionRequired
Metafield data related to a cart.
versionIntegerOptional
The current version of the cart, which is updated with every change.
externalSourceStringOptional
The external source that the cart originated from.
sourceCartSourceOptional
The source that created the cart.
Allowed values:
companyIdIntegerOptional
The B2B company ID associated with the cart.