Skip to main content
POST
Create a custom field key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Add a key to the allow list for an entity

entity
enum<string>
required
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
key
string
required
enforce_uniqueness
boolean
required

Response

200

Success