Skip to main content
PUT
Update a bookkeeping category

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>

Path Parameters

categoryId
string<uuid>
required

ID of the bookkeeping category to update.

Body

application/json;charset=UTF-8
archived
boolean
required

Boolean flag used to determine if the bookkeeping category is archived.

categoryGroupId
string<uuid>
required

Pleo's internal identifier of the bookkeeping category group the bookkeeping category is associated with.

name
string
required

Name of the bookkeeping category.

Maximum string length: 255
accountId
string<uuid> | null

Pleo's internal identifier of the bookkeeping account the bookkeeping category is associated with.

metadata
object | null

Place for API users to store flexible data.

taxCodeId
string<uuid> | null

Pleo's internal identifier of the tax code the bookkeeping category is associated with.

Response

Bookkeeping category updated successfully.

data
object
required

Represents a bookkeeping category in Pleo.