For the complete documentation index, see llms.txt. This page is also available as Markdown.

Interface: FirmhouseCart

Cart

Extended by

Properties

Property
Type
Description

activePlan

Returns the plan the subscription is currently subscribed to.

address

string | null

The customer's full address line or just street. Can include houseNumber if not separately stored in houseNumber field.

amountForStartingSubscriptionCents

number | null

The amount that is due on checkout (in cents).

appliedPromotions?

List of all applied promotions for this customer.

billToAddress

string | null

The customer's billing address address line or street.

billToCity

string | null

The customer's billing address city or town.

billToCompanyName

string | null

The company name of the customer's billing address.

billToCountry

string | null

The customer's billing address country code (ISO3661).

billToDistrict

string | null

The customer's billing address district.

billToFullAddress

string | null

The customer's billing address full address by combining address and house number.

billToFullName

string | null

The customer's billing address full name.

billToHouseNumber

string | null

The customer's billing address house, building, or appartment number.

billToLastName

string | null

The customer's billing address last name.

billToName

string | null

The customer' billing address first name.

billToPhoneNumber

string | null

The customer's billing address phone number (international format).

billToSalutation

string | null

The customer's billing address salutation (mr,ms,mx).

billToState

string | null

The customer's billing address state or province (ISO3661-2).

billToZipcode

string | null

The customer's billing address zip code or postal code.

chargeDayOfTheMonth

number | null

The day of the month when the customer is charged.

checkoutUrl

string | null

URL for the customers to complete their draft subscription.

city

string | null

The customer's city or town.

companyName

string | null

The customer's company name.

country

string | null

The customer's country code (ISO 3116)

createdAt

string | null

The date and time when the subscription record was first created.

currency

string | null

The currency used for this subscription

customerId

string | null

The customer ID given by the selected payment provider

customerReference

string | null

The field that can be used for your internal reference. For example, internal customer id.

dateOfBirth

string | null

The customer's date of birth

differentBillingAddress

boolean | null

Whether billing and shipping addresses are the same. Set this flag to true to store a separate billing address.

district

string | null

The customer's district

email

string | null

The customer's email address

extraFields

List of extra fields and values.

fullAddress

string | null

The customer's full address by combining address and house number.

fullName

string | null

The customer's full name.

houseNumber

string | null

The customer's house number.

id

string | null

The id of the subscription.

identityVerificationUrl

string | null

Identity verification URL that automatically uses the configured provider.Append ?return_url=https://your-url to send the customer back after a successful identification.

lastName

string | null

The customer's last name.

locale

string | null

The customer's locale/language.

marketingOptIn

boolean | null

Whether the customer accepted the optional marketing opt-in.

metadata

unknown

Metadata makes it possible to store additional information on objects.

monthlyAmountCents

number | null

The monthly amount that is charged.

name

string | null

The customer's first name.

orderedProducts

The ordered products that are part of the order

phoneNumber

string | null

The customer's full international phone number

salutation

string | null

The customer's salutation (mr,ms,mx).

startDate

string

The date and time when this subscription was (or will be) charged for the first time.

state

string | null

The customer's state

status

Status of this customer.

subscribedPlan

Returns the plan relationship and contract terms of the current plan

termsAccepted

boolean

Whether the customer accepted the terms and conditions.

termsAcceptedOn

string | null

Whether the customer has accepted the terms&conditions.

token

string

Unique token of the subscription

trialPeriodMonths

number | null

The number of months before customer is charged for the first time.

updatedAt

string | null

The date and time when the subscription was last updated.

vatNumber

string | null

The company's VAT number.

zipcode

string | null

The customer's postal code or zipcode.

Last updated

Was this helpful?