ICart
No description
interface 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
ICart.cartId
● String!
non-null scalar
The carts primary identifier
ICart.userId
● Int!
non-null scalar
The userId for this cart. The userId can only be set once.
ICart.channelId
● Int
scalar
The channel identifier this cart belongs to.
ICart.carrier
● String!
non-null scalar
The selected carrier for this cart.
ICart.notes
● String
scalar
User's remarks for this cart.
ICart.reference
● String
scalar
User's reference for this cart.
ICart.extra3
● String
scalar
Additional information field that can be stored with a cart and order.
ICart.extra4
● String
scalar
Additional information field that can be stored with a cart and order.
ICart.orderStatus
● String
scalar
Status of the order after processing the cart. When order status is UNFINISHED, the cart is pending payment from PSP.
ICart.actionCode
● String
scalar
ActionCode that is applied to this cart. Is only filled when an valid action is applied
ICart.couponCode
● String
scalar
CouponCode that is applied to this cart. Is only filled when an valid couponCode is applied
ICart.vouchers
● [CartVoucher!]
list object
Array of applied voucherCodes that are applied to this cart. Is only filled when an valid action is applied
ICart.paymentData
● CartPaymentData
object
Payment data for this cart.
ICart.postageData
● CartPostageData
object
Postage data for this cart.
ICart.total
● CartTotal
object
Totals for this cart.
ICart.items
● [CartMainItem!]
list object
The carts main items
ICart.bonusItems
● [CartBaseItem!]
list object
BonusItems that are added to this cart through incentives.
ICart.invoiceAddress
● CartAddress!
non-null object
The address the invoice for the order should be send to.
ICart.deliveryAddress
● CartAddress!
non-null object
The address the order should be send to.
ICart.taxLevels
● [CartTaxLevel!]
list object
Amount of tax that applies to this cart per tax code
ICart.payMethods
● [CartPaymethod!]
list object
List of selectable paymethods for this cart and applied user.
ICart.carriers
● [CartCarrier!]
list object
List of selectable carriers for this cart.
ICart.dateCreated
● DateTime
scalar
The date this cart has been created.
ICart.dateChanged
● DateTime
scalar
The date this cart has been last updated.
ICart.incentives
● [CartIncentive!]
list object
All incentives that apply to this cart.
ICart.valuePoints
● Int
scalar
Total amount of valuePoints that apply to this cart
ICart.user
● IBaseUser!
non-null interface
Returned By
cart
query
Implemented By
Cart
object