curl --request POST \
--url https://app.flowglad.com/api/v1/features \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"feature": {
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"pricingModelId": "<string>",
"amount": "<unknown>",
"usageMeterId": "<unknown>",
"renewalFrequency": "<unknown>",
"resourceId": "<unknown>",
"active": true
}
}
'{
"feature": {
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"organizationId": "<string>",
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"pricingModelId": "<string>",
"active": true,
"amount": "<unknown>",
"usageMeterId": "<unknown>",
"renewalFrequency": "<unknown>",
"resourceId": "<unknown>"
}
}curl --request POST \
--url https://app.flowglad.com/api/v1/features \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"feature": {
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"pricingModelId": "<string>",
"amount": "<unknown>",
"usageMeterId": "<unknown>",
"renewalFrequency": "<unknown>",
"resourceId": "<unknown>",
"active": true
}
}
'{
"feature": {
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"organizationId": "<string>",
"type": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"pricingModelId": "<string>",
"active": true,
"amount": "<unknown>",
"usageMeterId": "<unknown>",
"renewalFrequency": "<unknown>",
"resourceId": "<unknown>"
}
}Was this page helpful?