CostSheets
CreditGrants
Credit Notes
Customers
Wallets
Invoices
Entitlements
Environments
Events
Features
Payments
Plans
Integrations
Subscriptions
Tenants
Users
CostSheets
Update a cost sheet
Update a cost sheet with the specified configuration
PUT
/
cost
/
{id}
Copy
curl --request PUT \
--url https://api.cloud.flexprice.com/v1/cost/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "<string>",
"status": "<string>"
}'
Copy
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
Authorizations
Enter your API key in the format x-api-key <api-key>*
Path Parameters
Cost Sheet ID
Body
application/json
Cost sheet configuration
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request PUT \
--url https://api.cloud.flexprice.com/v1/cost/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "<string>",
"status": "<string>"
}'
Copy
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.