Edit Organization

URL : v3/organisation/update/api/{id}

HTTP Method : POST

Response Format: JSON

Parameters:

Parameter Data Type Optional/Required Description
organisation_name String Configurable It the name of the organization and it configurable from back end form settings
phone String Configurable It the phone no of the organization and it configurable from back end form settings
organisation_domain_name[] Array Configurable It the domain name of the organization email and it configurable from back end form settings
description String Configurable It the description of the organization and it configurable from back end form settings
organisation_logo File Configurable It the logo of the organization and it configurable from back end form settings
custom_id String/Array Optional “custom_(id of the custom field)”

Response

  • Response Format: JSON
  • Returns JSON which contains below response

Sample JSON Success Response :

{ "success": true, "message": "Organization updated successfully" }

 

Possible Errors/Failures:

 

{

"success":false,

"message":{

"field":"this field is required"
 }
}
{

"success": false,

"message": {

"organisation_name": "The organisation name has already been taken."

}

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *