Create Expense Category

Allowed Scopes: experimental:expense-category-v2:write

Creates a new expense category for the expense category field. Returns 404 if the field or a cost center in costCenters does not exist. Returns 409 if a category with the same name already exists for the field.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Expense category field ID.

Body Params
string
required

Expense category name.

costCenters
array of objects

Cost centers to associate with the expense category.

costCenters
Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json