Authorizations
Path Parameters
Response
Successful response
safeZodDate
safeZodDate
The default price for the product. If no price is explicitly set as default, will return the first price created for the product..
curl --request GET \
--url https://app.flowglad.com/api/v1/products/{id} \
--header 'Authorization: <api-key>'
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"name": "<string>",
"description": "<string>",
"imageURL": "<string>",
"organizationId": "<string>",
"displayFeatures": [
{
"enabled": true,
"label": "<string>",
"details": "<string>"
}
],
"active": true,
"singularQuantityLabel": "<string>",
"pluralQuantityLabel": "<string>",
"pricingModelId": "<string>",
"default": true,
"slug": "<string>",
"prices": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"intervalUnit": "day",
"name": "<string>",
"intervalCount": "<any>",
"type": "<string>",
"trialPeriodDays": "<any>",
"setupFeeAmount": "<any>",
"isDefault": true,
"unitPrice": "<any>",
"usageEventsPerUnit": "<any>",
"productId": "<string>",
"active": true,
"currency": "USD",
"startsWithCreditTrial": "<any>",
"slug": "<string>",
"overagePriceId": "<any>",
"usageMeterId": "<any>"
}
],
"defaultPrice": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"intervalUnit": "day",
"name": "<string>",
"intervalCount": "<any>",
"type": "<string>",
"trialPeriodDays": "<any>",
"setupFeeAmount": "<any>",
"isDefault": true,
"unitPrice": "<any>",
"usageEventsPerUnit": "<any>",
"productId": "<string>",
"active": true,
"currency": "USD",
"startsWithCreditTrial": "<any>",
"slug": "<string>",
"overagePriceId": "<any>",
"usageMeterId": "<any>"
},
"features": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"amount": null,
"usageMeterId": null,
"renewalFrequency": null,
"pricingModelId": "<string>",
"active": true
}
]
}
curl --request GET \
--url https://app.flowglad.com/api/v1/products/{id} \
--header 'Authorization: <api-key>'
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"name": "<string>",
"description": "<string>",
"imageURL": "<string>",
"organizationId": "<string>",
"displayFeatures": [
{
"enabled": true,
"label": "<string>",
"details": "<string>"
}
],
"active": true,
"singularQuantityLabel": "<string>",
"pluralQuantityLabel": "<string>",
"pricingModelId": "<string>",
"default": true,
"slug": "<string>",
"prices": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"intervalUnit": "day",
"name": "<string>",
"intervalCount": "<any>",
"type": "<string>",
"trialPeriodDays": "<any>",
"setupFeeAmount": "<any>",
"isDefault": true,
"unitPrice": "<any>",
"usageEventsPerUnit": "<any>",
"productId": "<string>",
"active": true,
"currency": "USD",
"startsWithCreditTrial": "<any>",
"slug": "<string>",
"overagePriceId": "<any>",
"usageMeterId": "<any>"
}
],
"defaultPrice": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"intervalUnit": "day",
"name": "<string>",
"intervalCount": "<any>",
"type": "<string>",
"trialPeriodDays": "<any>",
"setupFeeAmount": "<any>",
"isDefault": true,
"unitPrice": "<any>",
"usageEventsPerUnit": "<any>",
"productId": "<string>",
"active": true,
"currency": "USD",
"startsWithCreditTrial": "<any>",
"slug": "<string>",
"overagePriceId": "<any>",
"usageMeterId": "<any>"
},
"features": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"amount": null,
"usageMeterId": null,
"renewalFrequency": null,
"pricingModelId": "<string>",
"active": true
}
]
}
Successful response
safeZodDate
safeZodDate
Show child attributes
Show child attributes
The default price for the product. If no price is explicitly set as default, will return the first price created for the product..
Show child attributes
Show child attributes
Was this page helpful?