curl --request PUT \
--url https://api.cloud.flexprice.io/v1/cost/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "<string>",
"status": "<string>"
}'
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
Update a cost sheet with the specified configuration
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/cost/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "<string>",
"status": "<string>"
}'
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
Enter your API key in the format x-api-key <api-key>*
Cost Sheet ID
Cost sheet configuration
The body is of type object
.
OK
The response is of type object
.