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: 575829ac-4726-4d29-bd8e-c128fccde473
ClientSecret: sc1vcOTTFLuqjFa5u08UKtKaWl48XSqlm8jMQvrnXnuPvRjqTPgIDI6P1YcR  
Authorization: apikey HT5tI2DfA9TviUmPwzw8eePVW0zgMvfUyHwEQn5iiHmIT7BAjSKEAlopnqCXKhgcXsjTgcZbg4KeaZyGytTVL
CompanyID: d35ce604-3530-4e96-951c-29f851f04916  
Content-Type: application/json

{ some: "postData" }