POST
/
cost
curl --request POST \
  --url https://api.cloud.flexprice.com/v1/cost \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "meter_id": "<string>",
  "price_id": "<string>"
}'
{
  "created_at": "<string>",
  "id": "<string>",
  "meter_id": "<string>",
  "price_id": "<string>",
  "status": "published",
  "updated_at": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Body

application/json

Cost sheet configuration

The body is of type object.

Response

201
application/json

Created

The response is of type object.