Update Plan
Update the Plan with the given UUID.
Note: If you have created Custom Fields for a Plan, when you use this endpoint to update the Plan use the customFields parameter to preserve those Custom Fields. If you omit them from the update request, they will be lost.
Authorizations
Path Parameters
Body
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.
User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.
If customFields can also be defined for this entity at the Organizational level, customField values defined at individual level override values of customFields with the same name defined at Organization level.
See Working with Custom Fields in the m3ter documentation for more information.
TRUE/FALSE flag indicating whether the plan is a custom/bespoke Plan for a particular Account:
- When creating a Plan, use the
accountIdrequest parameter to specify the Account for which the Plan will be custom/bespoke. - A custom/bespoke Plan can only be attached to the specified Account.
(Optional). Used to specify an Account for which the Plan will be a custom/bespoke Plan:
- Use when first creating a Plan.
- A custom/bespoke Plan can only be attached to the specified Account.
- Once created, a custom/bespoke Plan cannot be updated to be made a custom/bespoke Plan for a different Account.
36Response
Returns the updated Plan
User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.
If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.
See Working with Custom Fields in the m3ter documentation for more information.