1. Company
Premiums API
  • Seance
    • Execute a seance.
      POST
    • Update a seance.
      PATCH
    • Cancels a seance.
      POST
    • Simulate Close a seance period.
      POST
  • Company
    • Update company information.
      PATCH
    • Bulk Imports companies.
      POST
    • Imports companies.
      PUT
  • Trainee
    • Imports Trainee.
      PUT
    • Bulk Imports Trainee.
      POST
  • Schemas
    • Schemas
      • SeancePeriodClosed
    • Response
      • Success
      • SimulateResponse
      • SeanceCancelSuccess
      • CompanyResponse
      • SeanceConfirmSuccess
      • UnauthorizedError
      • SeancePaidConfirmSuccess
      • BadRequestError
      • SeancePeriodClosedSuccess
      • BadRequestWithMessagesError
      • NotFoundError
      • CompanyUpdateSuccess
      • InternalError
      • BadRequestWithSeanceCancelMessagesError
      • BadRequestWithSessionInformationError
      • BadRequestWithSeanceConfirmMessagesError
      • TooManyRequestsMessagesError
      • BadRequestWithSeancePaidConfirmMessagesError
      • BadRequestWithSeancePeriodClosedMessagesError
      • BadRequestWithCompanyUpdateMessagesError
    • Seance
    • CompanyUpdate
    • CompanyImportCsvFormat
    • SeanceUpdate
    • TraineeImportCsvFormat
    • SeanceSimulatePeriodClosed
  1. Company

Update company information.

PATCH
/v2/company/{company_uid}
Update company information. Requires premiums:write scope.

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: /oauth2/token
Scopes:
premiums:write-Allow write operations to take place modifying existing data
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200CompanyUpdateSuccess
application/json
The request succeeded. The request does not provide any data in the response
Body

🟠400BadRequestWithCompanyUpdateMessagesError
🟠401UnauthorizedError
🔴500InternalError
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://premiums-api-staging.anopio.com/v2/company/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "worker_count": 0,
    "company_premium_class": "string",
    "company_pc": "string",
    "initial_credit": 0,
    "initial_collective_rights_balance_hours": 0,
    "date_start": "string",
    "company_status": "ACTIVE"
}'
Response Response Example
200 - Example 1
{
    "status": 200,
    "data": {
        "status_details": "COMPANY_SAVED"
    },
    "request": {
        "worker_count": 0,
        "company_premium_class": "string",
        "company_pc": "string",
        "initial_credit": 0,
        "initial_collective_rights_balance_hours": 0,
        "date_start": "string",
        "company_status": "ACTIVE"
    }
}
Modified at 2026-02-16 13:03:34
Previous
Simulate Close a seance period.
Next
Bulk Imports companies.
Built with