v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
custom-fields

Create a custom field value

Create a new value for an existing custom field.

post/v3/spend/custom-fields/{customFieldId}/values

Path parameters

customFieldIdstring required

BILL-generated ID or UUID of the custom field

Example:{{se_custom_field_uuid}}

Headers

apiTokenstring nullable

Access token for Spend & Expense API authentication

Example:{{api_token}}

Request body

valuesstring[] required

List of custom field values

Example request

{
  "values": [
    "Travel",
    "Food",
    "Entertainment"
  ]
}

Response

Create a custom field value response

idstring

BILL-generated ID of the custom field value

uuidstring

BILL-generated UUID of the custom field value

valuestring

Custom field value

deletedboolean

Set as true if the custom field value is retired