Skip to main content
PUT
Update Nature

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer<int32>
required

ID of the nature.

Body

application/json

Nature to update.

A purchase nature (category).

name
string
costFamilyId
integer<int32> | null
write-only

Write-only. ID of the cost family.

state
enum<string>
Available options:
Enabled,
Disabled
accountingPlans
object[]

Accounting plans for this nature.

Response

200 - application/json

OK

A purchase nature (category).

id
integer<int32>
read-only
name
string
costFamily
object | null
read-only

Read-only. Cost family of this nature.

state
enum<string>
Available options:
Enabled,
Disabled
accountingPlans
object[]

Accounting plans for this nature.