Membership
Membership
Membership
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
active |
Boolean! |
Whether this membership is active |
cancelAt |
DateTime |
Timestamp when the subscription is scheduled to be cancelled |
carLimit |
Int! |
Maximum number of cars allowed on this membership |
createdAt |
DateTime! |
Timestamp when the membership was created |
currentPeriodEnd |
DateTime |
End of the current billing period |
currentPeriodStart |
DateTime |
Start of the current billing period |
endedAt |
DateTime |
Timestamp when the subscription ended |
id |
String! |
Membership ID |
isExternallyManaged |
Boolean! |
Whether the membership is managed by an external billing system (e.g. drb). Externally-managed memberships cannot be edited via the API. |
isFleet |
Boolean! |
Whether this membership uses fleet-style billing / management |
membershipCars |
[MembershipCar!]! |
All cars linked to this membership, including those scheduled for removal |
price |
Price! |
Price |
priceId |
String! |
Price ID |
status |
String |
Status of the underlying subscription (e.g. active, trialing, past_due, canceled) |
trialEndAt |
DateTime |
Timestamp when the trial ends, if trialing |
Definition
type Membership {
"""Whether this membership is active"""
active: Boolean!
"""Timestamp when the subscription is scheduled to be cancelled"""
cancelAt: DateTime
"""Maximum number of cars allowed on this membership"""
carLimit: Int!
"""Timestamp when the membership was created"""
createdAt: DateTime!
"""End of the current billing period"""
currentPeriodEnd: DateTime
"""Start of the current billing period"""
currentPeriodStart: DateTime
"""Timestamp when the subscription ended"""
endedAt: DateTime
"""Membership ID"""
id: String!
"""
Whether the membership is managed by an external billing system (e.g. drb). Externally-managed memberships cannot be edited via the API.
"""
isExternallyManaged: Boolean!
"""Whether this membership uses fleet-style billing / management"""
isFleet: Boolean!
"""
All cars linked to this membership, including those scheduled for removal
"""
membershipCars: [MembershipCar!]!
"""Price"""
price: Price!
"""Price ID"""
priceId: String!
"""
Status of the underlying subscription (e.g. active, trialing, past_due, canceled)
"""
status: String
"""Timestamp when the trial ends, if trialing"""
trialEndAt: DateTime
}