Skip to main content
POST
Create a company spend tier
A tier used to categorize companies based on their annual spend.

Authorizations

Authorization
string
header
required

An API key created in Settings > API Keys. Each key is either Read-Only or Full Access, chosen when the key is created. A Read-Only key can only make GET requests; POST, PATCH, and DELETE requests made with it return a 403 with the message This API key is read-only.

Body

application/json
name
string
required

The name of the company spend tier. Max 255 characters.

amount
number
required

The amount of the company spend tier.

currency
string

The currency code for the company spend tier. Must be exactly 3 characters. Defaults to the workspace currency if not provided.

isActive
boolean

Whether the company spend tier is active. Defaults to true if not provided.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the company spend tier.

amount
number

The amount of the company spend tier.

currency
string

The currency code for the company spend tier.

isActive
boolean

Whether the company spend tier is active.

createdAt
string<date-time>

The timestamp when the object was created.