Set custom field values
Custom fields
Set custom field values
Sets custom field values on a specific Metronome entity instance. Overwrites existing values for matching keys while preserving other fields. All updates are transactional—either all values are set or none are. Custom field values are limited to 200 characters each.
POST
Set custom field values
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The custom field values to set
Available options:
alert, billable_metric, charge, commit, contract_credit, contract_product, contract, customer, discount, invoice, product, rate_card, scheduled_charge, subscription, package_commit, package_credit, package_subscription, package_scheduled_charge Custom fields to be added eg. { "key1": "value1", "key2": "value2" }
Response
200
Success