Create Pricing
Changed onCreate a new Pricing.
Notes:
- Pricing Plan or Plan Template? Exactly one of planId or planTemplateId request parameters are required for this call to be valid. If you omit both, then you will receive a validation error.
- Using Aggregation or Compound Aggregation for Pricing? Exactly one of aggregationId or compoundAggregationId request parameters are required for this call to be valid. If you omit both, then you will receive a validation error.
- Using Negative Values for Pricing? If you use the type request parameter with the DEBIT option, you cannot use negative values for fixedPrice or unitPrice in pricingBands or overagePricingBands, and you'll receive a validation error. If you omit a type request parameter a DEBIT pricing is created by default and the same constraint on the use of negative values applies.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
Request body
Response
Returns the created Pricing
Changes
- breaking
the
////////request property type changed from no type toobject - breaking
the
////request property type changed from no type toobject - breaking
the
////request property type changed from no type toobject - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
////////response's property type changed from no type toobjectfor status - breaking
the
////////////response's property type changed from no type toobjectfor status - breaking
the
////////response's property type changed from no type toobjectfor status - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
////////response's property type changed from no type toobjectfor status - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////////became optional for the status - breaking
the response property
////became optional for the status - breaking
the response property
////////////became optional for the status - breaking
the response property
////////became optional for the status - breaking
the response property
////////////////became optional for the status - breaking
the response property
////////////became optional for the status - breaking
the response property
////////////became optional for the status - breaking
the response property
////////became optional for the status
- breaking