Skip to main content

Editing User/Company API

The Editing User/Company API allows you to modify existing company or user details, such as contact information, address, and branding assets. This endpoint ensures that your data remains up to date and accurate.

Endpoint

PUT /api/company/edit

Request Body Schema

The following schema defines the updatable fields for user or company details:

Example Request


Success Response

200 - OK

Indicates that the company or user details were successfully updated. Example Response:

Error Responses

Example Error Response


Best Practices

  • Validate your inputs: Use the dry run functionality in the Signup API to confirm the format of inputs before making live updates.
  • Provide only necessary fields: You do not need to include all fields in the request body—only the ones you want to update.
  • Handle 404 errors gracefully: If a GNET ID does not exist, suggest checking the ID or creating a new company.
Ready to integrate this endpoint? Check out the User Check API to validate if a user or company exists before editing their details.