Company identification

Authenticated user may have access to several companies. Therefore, request must be linked to exactly one company. In Profit365 web app, this is achieved by using unique subdomains. In API, an company identification must be embedded in request header.

CompanyID: "3f17bfba-8bb0-414c-8709-7df66cdd4652"

When accessing company data, resources are accessed as that user with ACL for that company, so limitations will apply.

Example

POST https://api.profit365.eu/1.6/sales/invoices

ClientID: 335c4c0e-5404-4dd1-a242-8e692d50da43
ClientSecret: sc1vcOTTFLuqjFa5u08UKtKaWl48XSqlm8jMQvrnXnuPvRjqTPgIDI6P1YcR  
Authorization: apikey HT5tI2DfA9TviUmPwzw8eePVW0zgMvfUyHwEQn5iiHmIT7BAjSKEAlopnqCXKhgcXsjTgcZbg4KeaZyGytTVL
CompanyID: b3dd139d-d227-4514-8693-7f40565998d2  
Content-Type: application/json

{ some: "postData" }