curl --request PUT \
--url https://app.flowglad.com/api/v1/pricing-models/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pricingModel": {
"isDefault": true,
"name": "<string>",
"id": "<string>"
}
}'
{
"pricingModel": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"isDefault": true,
"name": "<string>"
}
}
curl --request PUT \
--url https://app.flowglad.com/api/v1/pricing-models/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pricingModel": {
"isDefault": true,
"name": "<string>",
"id": "<string>"
}
}'
{
"pricingModel": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"isDefault": true,
"name": "<string>"
}
}
Successful response
The response is of type object
.
Was this page helpful?