Update Credit Line Item
Update the Credit line item with the given UUID.
Authorizations
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
Path Parameters
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
UUID of the bill.
The UUID of the credit line item to update.
Body
The UUID of the Product.
The description for the line item.
1The amount for the line item.
x > 0The UUID of the bill for the line item.
The UUID of the line item.
The service period start date in ISO-8601 format. (inclusive of the starting date).
The service period end date in ISO-8601 format.(exclusive of the ending date).
The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
The UUID of the line item reason.
STANDING_CHARGE, USAGE, COUNTER_RUNNING_TOTAL_CHARGE, COUNTER_ADJUSTMENT_DEBIT, COUNTER_ADJUSTMENT_CREDIT, USAGE_CREDIT, MINIMUM_SPEND, MINIMUM_SPEND_REFUND, CREDIT_DEDUCTION, MANUAL_ADJUSTMENT, CREDIT_MEMO, DEBIT_MEMO, COMMITMENT_CONSUMED, COMMITMENT_FEE, OVERAGE_SURCHARGE, OVERAGE_USAGE, BALANCE_CONSUMED, BALANCE_FEE, AD_HOC The UUID of the credit reason.
Response
Returns the updated credit line item
The UUID of the entity.
The version number:
- Create: On initial Create to insert a new entity, the version is set at 1 in the response.
- Update: On successful Update, the version is incremented by 1 in the response.
STANDING_CHARGE, USAGE, COUNTER_RUNNING_TOTAL_CHARGE, COUNTER_ADJUSTMENT_DEBIT, COUNTER_ADJUSTMENT_CREDIT, USAGE_CREDIT, MINIMUM_SPEND, MINIMUM_SPEND_REFUND, CREDIT_DEDUCTION, MANUAL_ADJUSTMENT, CREDIT_MEMO, DEBIT_MEMO, COMMITMENT_CONSUMED, COMMITMENT_FEE, OVERAGE_SURCHARGE, OVERAGE_USAGE, BALANCE_CONSUMED, BALANCE_FEE, AD_HOC The DateTime when the line item was created.
The DateTime when the line item was last modified.
The ID of the user who created this line item.
The ID of the user who last modified this line item.
The credit amount.
The UUID of the credit reason for this credit line item.