Queries

getCart

Get the cart

Get the cart

getCart(
  id: String
  includeCompleted: Boolean
  allowExternalShippingFee: Boolean
  forceRefresh: Boolean
  channelId: String
  languageId: String
  marketId: String
): CartType

Arguments

id ● String scalar

Specify the ID of an existing cart

includeCompleted ● Boolean scalar

Decides if a completed cart can be returned

allowExternalShippingFee ● Boolean scalar

If the the shipping fee on cart is allowed to take the value of an external shipping. Set to false if outside checkout. Has no effect on locked carts.

forceRefresh ● Boolean scalar

Set to true to force a refresh of all product data. This will remove products that are inactive or out of stock. Has no effect on locked carts.

channelId ● String scalar

The channel ID. Will default to an existing value if it is not found.

languageId ● String scalar

The language ID. Will default to an existing value if it is not found.

marketId ● String scalar

The market ID. Will default to an existing value if it is not found.

Type

CartType object

Type containing cart information