Update Partner Company

PUT http://<environment url>/ws/rest/service/v1/admin/company

Purpose

Provide the ability to update partner company based on information provided.

Request Format

Company information in JSON format.

Sample Request

{

[{"companyname":"Partner Company - 01",

"shortname":"partner01",

"addresses": [{

"addresstype": 1,

"addressline1":"488 Almaden Blvd",

"city":"San Jose",

"state":"CA",

"zip":"95110",

"country":"US"}

],

"passwordpolicy":{"min_length": 1,"max_length": 3}

}

Response Format

A JSON object is returned in the following format.

{

"data": [],

"message": [],

"status": <REST status code value>

}

A successful response displays a status code 200.

A failed response displays a message with a status code.

The mandatory existing validations that exist for updating partner company will be applicable in REST service as well

The shortname is the identifier for updating the partner company details.

The other data elements which are not included as part of the update request will retain its value on execution.

Validations For Updating Partner Company

Status

Condition

Message

200

Success

The partner company {partner company name} has been created.

901

Invalid data value

Invalid data for <data_element>.

902

Partner company specified does not exist as shortname specified is not matching.

The partner company does not exist.

 

5555

One or more records contain errors.

One or more records contain errors.

Related Topics

Partner Company

Get Partner Company

Create Partner Company

Update Partner Company Shortname

Add (Update) Partner Company Shell Membership

Remove (Update) Partner Company Shell Membership



Last Published Tuesday, July 1, 2025