Update Account Code

Update the code and/or description for the specified id. Use this to revise an Account Code record.

SecuritybearerAuth
Request
path Parameters
id
required
string

Unique identifier of the Account Code.

header Parameters
X-PB-Developer-Partner-ID
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Request Body schema: application/json
code
string

New/updated Account Code value.

description
string

Updated description of the Account Code.

Responses
200

Specified Account Code has been updated successfully.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

put/api/v1/accountCodes/{id}
Request samples
application/json
{
  • "code": "278001",
  • "description": "this is description for test codehash278001-u1"
}
Response samples
application/json
{
  • "id": "d8WpwWzlMgYO"
}