SimpleMembership
SimpleMembership
SimpleMembership
Lightweight membership projection for list / search results. Carries
denormalized subscription status and customer identity, omits nested
relations like linked cars. Fetch a full Membership via the membership(id:)
query when detail is needed.
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
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 |
customerEmail |
EmailAddress |
Customer email |
customerId |
String |
Customer ID |
customerName |
String |
Customer name |
customerPhone |
PhoneNumber |
Customer phone (E.164) |
endedAt |
DateTime |
Timestamp when the subscription ended |
id |
ID! |
Membership ID |
isExternallyManaged |
Boolean! |
Whether the membership is managed by an external billing system (e.g. drb) |
isFleet |
Boolean! |
Whether this membership uses fleet-style billing / management |
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
"""
Lightweight membership projection for list / search results. Carries
denormalized subscription status and customer identity, omits nested
relations like linked cars. Fetch a full Membership via the `membership(id:)`
query when detail is needed.
"""
type SimpleMembership {
"""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
"""Customer email"""
customerEmail: EmailAddress
"""Customer ID"""
customerId: String
"""Customer name"""
customerName: String
"""Customer phone (E.164)"""
customerPhone: PhoneNumber
"""Timestamp when the subscription ended"""
endedAt: DateTime
"""Membership ID"""
id: ID!
"""
Whether the membership is managed by an external billing system (e.g. drb)
"""
isExternallyManaged: Boolean!
"""Whether this membership uses fleet-style billing / management"""
isFleet: Boolean!
"""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
}