Create a billable metric
Request body
Example request
{
"product_family_id": "pf_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Response
Metric created
Example response
{
"id": "bm_7n42DGM5Tflk9n8mt7Fhc7",
"product_family_id": "pf_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Changes
Changed in 4 of the 54 revisions of this API.328
- ▲
removed
subschema #2subschema #3from thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/request propertyoneOflistrequest-property-one-of-removed
- ▲
added
DoubleSegmentationMatrixLinkedSegmentationMatrixto thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/response propertyoneOflist for the response status201response-property-one-of-added
- ○
added
DOUBLELINKEDdiscriminator mapping keys to thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/request propertyrequest-property-discriminator-mapping-added
- ○
request discriminator property name changed for
segmentation_matrix/oneOf[MetricSegmentationMatrix]/request property fromdiscriminatortotyperequest-property-discriminator-property-name-changed
- ○
added
DoubleSegmentationMatrixLinkedSegmentationMatrixto thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/request propertyoneOflistrequest-property-one-of-added
- ○
added
DOUBLELINKEDdiscriminator mapping keys to thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/response property for the response status201response-property-discriminator-mapping-added
- ○
response discriminator property name changed for
segmentation_matrix/oneOf[MetricSegmentationMatrix]/response property fromdiscriminatortotypefor the response status201response-property-discriminator-property-name-changed
- ○
removed
subschema #2subschema #3from thesegmentation_matrix/oneOf[MetricSegmentationMatrix]/response propertyoneOflist for the response status201response-property-one-of-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status401response-property-enum-value-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ●
- ○
endpoint added
endpoint-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 274 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲