Mutations

addPackageToCart

No description

No description

addPackageToCart(
  id: String!
  packageId: Int!
  allowExternalShippingFee: Boolean
  selections: [ProductPackageSelectionType]
  channelId: String
  languageId: String
  marketId: String
): CartType

Arguments

id ● String! non-null scalar required

The cart ID

packageId ● Int! non-null scalar required

The product id of the package

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.

selections ● [ProductPackageSelectionType] list input

All option selections for the package

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