Skip to main content

Cart

No description

type Cart implements ICart {
cartId: String!
userId: Int!
channelId: Int
carrier: String!
notes: String
reference: String
extra3: String
extra4: String
orderStatus: String
actionCode: String
couponCode: String
vouchers: [CartVoucher!]
paymentData: CartPaymentData
postageData: CartPostageData
total: CartTotal
items: [CartMainItem!]
bonusItems: [CartBaseItem!]
invoiceAddress: CartAddress!
deliveryAddress: CartAddress!
taxLevels: [CartTaxLevel!]
payMethods: [CartPaymethod!]
carriers: [CartCarrier!]
dateCreated: DateTime
dateChanged: DateTime
incentives: [CartIncentive!]
valuePoints: Int
user: IBaseUser!
}

Fields

Cart.cartId ● String! non-null scalar

The carts primary identifier

Cart.userId ● Int! non-null scalar

The userId for this cart. The userId can only be set once.

Cart.channelId ● Int scalar

The channel identifier this cart belongs to.

Cart.carrier ● String! non-null scalar

The selected carrier for this cart.

Cart.notes ● String scalar

User's remarks for this cart.

Cart.reference ● String scalar

User's reference for this cart.

Cart.extra3 ● String scalar

Additional information field that can be stored with a cart and order.

Cart.extra4 ● String scalar

Additional information field that can be stored with a cart and order.

Cart.orderStatus ● String scalar

Status of the order after processing the cart. When order status is UNFINISHED, the cart is pending payment from PSP.

Cart.actionCode ● String scalar

ActionCode that is applied to this cart. Is only filled when an valid action is applied

Cart.couponCode ● String scalar

CouponCode that is applied to this cart. Is only filled when an valid couponCode is applied

Cart.vouchers ● [CartVoucher!] list object

Array of applied voucherCodes that are applied to this cart. Is only filled when an valid action is applied

Cart.paymentData ● CartPaymentData object

Payment data for this cart.

Cart.postageData ● CartPostageData object

Postage data for this cart.

Cart.total ● CartTotal object

Totals for this cart.

Cart.items ● [CartMainItem!] list object

The carts main items

Cart.bonusItems ● [CartBaseItem!] list object

BonusItems that are added to this cart through incentives.

Cart.invoiceAddress ● CartAddress! non-null object

The address the invoice for the order should be send to.

Cart.deliveryAddress ● CartAddress! non-null object

The address the order should be send to.

Cart.taxLevels ● [CartTaxLevel!] list object

Amount of tax that applies to this cart per tax code

Cart.payMethods ● [CartPaymethod!] list object

List of selectable paymethods for this cart and applied user.

Cart.carriers ● [CartCarrier!] list object

List of selectable carriers for this cart.

Cart.dateCreated ● DateTime scalar

The date this cart has been created.

Cart.dateChanged ● DateTime scalar

The date this cart has been last updated.

Cart.incentives ● [CartIncentive!] list object

All incentives that apply to this cart.

Cart.valuePoints ● Int scalar

Total amount of valuePoints that apply to this cart

Cart.user ● IBaseUser! non-null interface

Interfaces

ICart interface

Returned By

cartStart mutation

Member Of

CartResponse object