Developer Docs

Cart

Represents a subscription cart/draft stage.

Fields

activePlan (Plan)
The plan that's set for this cart.
address (String)
The customer's shipping address or just street. Can include houseNumber if not separately stored in houseNumber field.
city (String)
The customer's city
companyName (String)
The customer's company name in case of a B2B customer.
country (String)
The customer's country (two-letter ISO code)
email (String)
The customer's email address
extraFields ([ExtraFieldAnswer!])
List of extra fields and its values on this cart.
fullName (String)
The customer's full name
houseNumber (String)
The customer's houseNumber if given
initialAmountIncludingTaxCents (Int)
The initial amount the customer will pay at signup including tax in cents.
lastName (String)
The customer's last name
marketingOptIn (Boolean)
Whether the customer is opted in to receiving marketing communication.
monthlyAmountExcludingTaxCents (Int)
The monthly amount for this subscription excluding tax in cents
monthlyAmountIncludingTaxCents (Int)
The monthly amount for this subscription including tax in cents
monthlyAmountTaxCents (Int)
The total amount of tax for this subscription monthly amount in cents
name (String)
The customer's first name
orderedProducts ([OrderedProduct!])
A list of the cart's ordered products.
phoneNumber (String)
The customer's phone number (international format)
products ([Product!])
A list of the cart's products (via OrderedProducts).
project (Project!)
salutation (String)
The customer's salutation (mr, ms, mx)
state (String)
The customer's state
token (String)
Token of the subscription represented by this cart.
zipcode (String)
The customer's postal code or zipcode