Updates an existing company’s information with validation and permission checks.
MANAGER[ADMIN, USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
"application/json"Unique identifier of the company.
-9007199254740991 <= x <= 90071992547409911
Name of the company.
250"Company Name"
Type of company (verification, work...).
1, 2, 3 1
Company address.
250"Company address"
Comment on the company.
2500"Company comment"
Email of the company contact.
250^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$"example@email.com"
Phones of the company contact.
1 - 5 elements50["phone1", "phone2"]
1Unique identifier of the establishment.
-9007199254740991 <= x <= 90071992547409911Unique identifier of the technical installation.
-9007199254740991 <= x <= 900719925474099120Unique identifier of the label.
-9007199254740991 <= x <= 9007199254740991Company updated successfully
Unique identifier of the company.
-9007199254740991 <= x <= 90071992547409911
Name of the company.
250"Company Name"
Type of company (verification, work...).
1, 2, 3 1
Company address.
250"Company address"
Comment on the company.
2500"Company comment"
Identifier of the associated organization.
-9007199254740991 <= x <= 90071992547409911
Date when the rule was archived.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-10T10:00:00.000Z"
Date of the last update of the company.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-05T14:56:23.000Z"
Date of company creation.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-01-15T08:45:00.000Z"