POST
/
v1
/
contract-pricing
/
products
/
create
Create a product
curl --request POST \
  --url https://api.metronome.com/v1/contract-pricing/products/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My Product",
  "type": "USAGE",
  "billable_metric_id": "13117714-3f05-48e5-a6e9-a66093f13b4d"
}'
{
  "data": {
    "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a new product

The body is of type object.

Response

Success

The response is of type object.