Modify a specific Commitment.
Update the details of the Commitment with the given UUID. Use this endpoint to adjust Commitment parameters such as the fixed amount, overage surcharge percentage, or associated contract details.
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
The unique identifier (UUID) for your Organization. The Organization represents your company as a direct customer of our service.
The unique identifier (UUID) for the Commitment to update.
The unique identifier (UUID) for the end customer Account the Commitment is added to.
36The start date of the Commitment period in ISO-8601 format.
The end date of the Commitment period in ISO-8601 format.
Note: End date is exclusive - if you set an end date of June 1st 2022, then the Commitment ceases to be active for the Account at midnight on May 31st 2022, and any Prepayment fees due are calculated up to that point in time, NOT up to midnight on June 1st
The currency used for the Commitment. For example: USD.
1The total amount that the customer has committed to pay.
x > 0The version number of the entity:
The unique identifier (UUID) for the Product Plan used for billing Commitment fees due.
36A list of unique identifiers (UUIDs) for Products the Account consumes. Charges due for these Products will be made available for draw-down against the Commitment.
Note: If not used, then charges due for all Products the Account consumes will be made available for draw-down against the Commitment.
100The amount that the customer has already paid upfront at the start of the Commitment service period.
x >= 0The amount to be billed in the first invoice.
x >= 0The percentage surcharge applied to usage charges that exceed the Commitment amount.
Note: You can enter a negative percentage if you want to give a discount rate for usage to end customers who exceed their Commitment amount
A boolean value indicating whether the overage usage is billed separately or together. If overage usage is separated and a Commitment amount has been consumed by an Account, any subsequent line items on Bills against the Account for usage will show as separate "overage usage" charges, not simply as "usage" charges:
Notes:
overageSurchargePercent parameter. If you try to separate overage usage when a value other than 0 has been defined for overageSurchargePercent, you'll receive an error.How often the Commitment fees are applied to bills. For example, if the plan being used to bill for Commitment fees is set to issue bills every three months and the billingInterval is set to 2, then the Commitment fees are applied every six months.
1 <= x <= 365Defines an offset for when the Commitment fees are first applied to bills on the Account. For example, if bills are issued every three months and the billingOffset is 0, then the charge is applied to the first bill (at three months); if set to 1, it's applied to the next bill (at six months), and so on.
0 <= x <= 364A textual description of the Commitment fee.
200A textual description of the Commitment usage.
200A textual description of the overage charges.
200A boolean value indicating whether the Commitment fee is billed in advance (start of each billing period) or arrears (end of each billing period).
If no value is supplied, then the Organization Configuration value is used.
The starting date (in ISO-8601 date format) from which the billing cycles are calculated.
The unique identifier (UUID) for a Contract you've created for the Account - used to add the Commitment to this Contract.
Note: If you associate the Commitment with a Contract you must ensure the Account Plan attached to the Account has the same Contract associated with it. If the Account Plan Contract and Commitment Contract do not match, then at billing the Commitment amount will not be drawn-down against.
36The unique identifier (UUID) for the Product linked to the Commitment for accounting purposes. (Optional)
NOTE: If you're planning to set up an integration for sending Bills to an external accounts receivable system, please check requirements for your chosen system. Some systems, such as NetSuite, require a Product to be linked with any Bill line items associated with Account Commitments, and the integration will fail if this is not present
36Optional Product ID this Commitment's fees should be attributed to for accounting purposes.
36Optional Product ID this Commitment's consumptions should be attributed to for accounting purposes.
36Used for billing any outstanding Commitment fees on a schedule.
Create an array to define a series of bill dates and amounts covering specified service periods:
date - the billing date (in ISO-8601 format).amount - the billed amount.servicePeriodStartDate and servicePeriodEndDate - defines the service period the bill covers (in ISO-8601 format).Notes:
servicePeriodStartDate after servicePeriodEndDate, you'll receive an error.servicePeriodStartDate and servicePeriodEndDate to the same date without receiving an error, but please be sure your Commitment billing use case requires this.If the Account is either a Parent or a Child Account, this specifies the Account hierarchy billing mode. The mode determines how billing will be handled and shown on bills for charges due on the Parent Account, and charges due on Child Accounts:
Parent Breakdown - a separate bill line item per Account. Default setting.
Parent Summary - single bill line item for all Accounts.
Child - the Child Account is billed.
PARENT_SUMMARY, PARENT_BREAKDOWN, CHILD Specify the line item charge types that can draw-down at billing against the Commitment amount. Options are:
MINIMUM_SPENDSTANDING_CHARGEUSAGE"COUNTER_RUNNING_TOTAL_CHARGE""COUNTER_ADJUSTMENT_DEBIT"NOTE: If no charge types are specified, by default all types can draw-down against the Commitment amount at billing.
Available line item types for Commitments
STANDING_CHARGE, USAGE, MINIMUM_SPEND, COUNTER_RUNNING_TOTAL_CHARGE, COUNTER_ADJUSTMENT_DEBIT Returns the updated Commitment
The UUID of the entity.
The version number:
The unique identifier (UUID) for the end customer Account the Commitment is added to.
The unique identifier (UUID) for the Product Plan used for billing Commitment fees due.
A list of unique identifiers (UUIDs) for Products the Account consumes. Charges due for these Products will be made available for draw-down against the Commitment.
Note: If not used, then charges due for all Products the Account consumes will be made available for draw-down against the Commitment.
The start date of the Commitment period in ISO-8601 format.
The end date of the Commitment period in ISO-8601 format.
The currency used for the Commitment. For example, 'USD'.
The total amount that the customer has committed to pay.
The amount that the customer has already paid upfront at the start of the Commitment service period.
The amount to be billed in the first invoice.
The total amount of the Commitment that the customer has spent so far.
The percentage surcharge applied to the usage charges that exceed the Commitment amount.
A boolean value indicating whether the overage usage is billed separately or together. If overage usage is separated and a Commitment amount has been consumed by an Account, any subsequent line items on Bills against the Account for usage will show as separate "overage usage" charges, not simply as "usage" charges:
How often the Commitment fees are applied to bills. For example, if the plan being used to bill for Commitment fees is set to issue bills every three months and the billingInterval is set to 2, then the Commitment fees are applied every six months.
The offset for when the Commitment fees are first applied to bills on the Account. For example, if bills are issued every three months and the billingOffset is 0, then the charge is applied to the first bill (at three months); if set to 1, it's applied to the next bill (at six months), and so on.
A textual description of the Commitment fee.
A textual description of the Commitment usage.
A textual description of the overage charges.
A boolean value indicating whether the Commitment fee is billed in advance (start of each billing period) or arrears (end of each billing period).
The starting date (in ISO-8601 date format) from which the billing cycles are calculated.
The unique identifier (UUID) for a Contract you've created for the Account and to which the Commitment has been added.
The unique identifier (UUID) for the Product linked to the Commitment for accounting purposes.
Optional Product ID this Commitment's fees should be attributed to for accounting purposes.
Optional Product ID this Commitment's consumptions should be attributed to for accounting purposes.
Used for billing any outstanding Commitment fees on a schedule.
An array defining a series of bill dates and amounts covering specified service periods:
date - the billing date (in ISO-8601 format).amount - the billed amount.servicePeriodStartDate and servicePeriodEndDate - defines the service period the bill covers (in ISO-8601 format).If the Account is either a Parent or a Child Account, this specifies the Account hierarchy billing mode. The mode determines how billing will be handled and shown on bills for charges due on the Parent Account, and charges due on Child Accounts:
Parent Breakdown - a separate bill line item per Account. Default setting.
Parent Summary - single bill line item for all Accounts.
Child - the Child Account is billed.
PARENT_SUMMARY, PARENT_BREAKDOWN, CHILD Specifies the line item charge types that can draw-down at billing against the Commitment amount. Options are:
MINIMUM_SPENDSTANDING_CHARGEUSAGE"COUNTER_RUNNING_TOTAL_CHARGE""COUNTER_ADJUSTMENT_DEBIT"Available line item types for Commitments
STANDING_CHARGE, USAGE, MINIMUM_SPEND, COUNTER_RUNNING_TOTAL_CHARGE, COUNTER_ADJUSTMENT_DEBIT The date and time (in ISO-8601 format) when the Commitment was created.
The date and time (in ISO-8601 format) when the Commitment was last modified.
The unique identifier (UUID) of the user who created this Commitment.
The unique identifier (UUID) of the user who last modified this Commitment.