features

Update or create a feature (upsert)

Requires the FEATURE.CREATE or FEATURE.UPDATE permission.

put/v{version}/features

Request

  • Base URL: https://test.api.solvimon.com
  • URL: https://test.api.solvimon.com/v{version}/features
  • Auth: API key in header X-API-KEY

Path parameters

versionstring required

version

Headers

x-platform-idstring

Platform ID.

Request body

object_typestring nullable
idstring nullable
referencestring required
namestring nullable
descriptionstring nullable
type'SWITCH' | 'NUMBER' | 'ENUM' | 'AMOUNT' | 'STRING' required

The indication of the type of feature associated with the pricing plan.

enum_valuesstring[] nullable

If the feature type is ENUM, these fields provide additional information on the values used.

meter_value_calculation_idstring nullable

The linked meter value calculation

Response

Created

object_typestring nullable
idstring nullable
referencestring
namestring nullable
descriptionstring nullable
type'SWITCH' | 'NUMBER' | 'ENUM' | 'AMOUNT' | 'STRING'

The indication of the type of feature associated with the pricing plan.

enum_valuesstring[] nullable

If the feature type is ENUM, these fields provide additional information on the values used.

meter_value_calculation_idstring nullable

The linked meter value calculation

Changes

No recorded changes to this operation across all 1 revision of this API.