Cart
The Cart associated with a customer Subscription Platform checkout
type Cart {
id: ID!
uid: ID
state: CartState!
errorReasonId: String
offeringConfigId: String!
interval: String!
experiment: String
taxAddress: TaxAddress
previousInvoice: Invoice!
nextInvoice: Invoice!
createdAt: Float!
updatedAt: Float!
couponCode: String
stripeCustomerId: String
email: String
amount: Float!
}
Fields
Cart.id ● ID! non-null scalar
Cart unique identifier
Cart.uid ● ID scalar
Firefox Account User ID
Cart.state ● CartState! non-null enum
State of the cart
Cart.errorReasonId ● String scalar
Error reason ID
Cart.offeringConfigId ● String! non-null scalar
Offering ID configured in the CMS
Cart.interval ● String! non-null scalar
Interval
Cart.experiment ● String scalar
Experiment associated with the cart
Cart.taxAddress ● TaxAddress object
Tax address
Cart.previousInvoice ● Invoice! non-null object
The previous invoice
Cart.nextInvoice ● Invoice! non-null object
The next, also known as upcoming, invoice
Cart.createdAt ● Float! non-null scalar
Timestamp when the cart was created
Cart.updatedAt ● Float! non-null scalar
Timestamp the cart was last updated
Cart.couponCode ● String scalar
Applied coupon code
Cart.stripeCustomerId ● String scalar
Stripe customer ID of cart customer
Cart.email ● String scalar
Email set by customer
Cart.amount ● Float! non-null scalar
Amount of plan at checkout
Returned by
cart query ● checkoutCart mutation ● restartCart mutation ● setupCart mutation ● updateCart mutation