An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Retrieve a cart by its ID.
Arguments
countryCode ● String
Country Code
language ● String
Language
id ● ID!non-null
Shopping cart id
userToken ● String
Member access token
Returns
attributes ● [Attribute]
The attributes associated with the cart. Attributes are represented as key-value pairs.
buyerIdentity ● CartBuyerIdentity
Information about the buyer that's interacting with the cart.
cartSign ● String
cart signature
checkoutUrl ● String!non-null
The URL of the checkout for the cart.
createdAt ● Date
The date and time when the cart was created.
discountCodes ● [CartDiscountCode]
The case-insensitive discount codes that the customer added at checkout.
discountEnableCart ● Boolean
Whether to allow to use the discount codes
enablePartialSelection ● Boolean
Whether to allow partial selection of products field true allows partial selection of products false does not allow partial selection of products
estimatedCost ● CartEstimatedCost
The estimated costs that the buyer will pay at checkout.
id ● ID!non-null
A globally-unique ID.
lines ● [CartLine]
A list of lines containing information about the items the customer intends to purchase.
note ● String
A note that's associated with the cart. For example, the note can be a personalized message to the buyer.
updatedAt ● Date
The date and time when the cart was updated.
Error Code
For more information about common error codes, refer to Status and error codes.
Was this article helpful to you?

Error loading component.

Error loading component.