Update Company Code

Update the code and/or description for the specified id.

SecuritybearerAuth
Request
path Parameters
id
required
string

Unique identifier of the Company Code.

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

Developer Partner ID. Not required if the developer is the only partner.

Request Body schema: application/json
code
string

New or updated Company Code value.

description
string

Updated description of the Company Code.

Responses
200

Specified Company 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/companyCodes/{id}
Request samples
application/json
{
  • "code": "COMP001",
  • "description": "This is description for updated company code COMP001-u1"
}
Response samples
application/json
{
  • "id": "cmpy12345xyz"
}