ReferenceCompanies
List authorised persons
Returns the people authorised to act for this company. Requires `Permissions.Companies.View`.
GET
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
companyId*integerFormat
int32application/json- response
[index: integer]?curl -X GET 'https://<your-instance>/api/companies/0/authorized-persons' \ -H 'Authorization: Bearer <access-token>'[ { "companyId": 0, "email": "string", "id": 0, "isInactive": true, "name": "string", "number": "string", "phone": "string", "shouldSendMailTo": true }]Update a company PUT
Updates the company and the child collections present in the body, then returns the stored header. Collections the body leaves out are untouched. Requires `Permissions.Companies.Update`.
Create an authorised person POST
Adds an authorised person to the company and returns the stored row. Requires `Permissions.Companies.Create`.