💡 To populate relational property, please use
include
query parameter in the API call.
type Subscription = {
id: string
priceId: string
quotaId: string
createdAt: number
// price: Price
// quota: Quota
}
{
"id": "sub_27r555vvy5hr4orr607",
"priceId": "price_3lg3x2cf0n4mo",
"quotaId": "quo_3g7nayf85ps5soo4w0k",
"createdAt": 1684491613
}