PUT
/
api
/
item-categories
/
{id}

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Path Parameters

id
number
required

Body

application/json
name
string
required

The category name

Example:

"Category name"

description
string
required

The category description

Example:

"Category description"

costAccountId
number
required

The cost account ID

Example:

1

sellAccountId
number
required

The sell account ID

Example:

1

inventoryAccountId
number
required

The inventory account ID

Example:

1

costMethod
string
required

The cost method

Example:

"FIFO"