Authorization

Authentication takes place on a request basis. Each request is responsible for authentication. Accordingly, every cash register that wants to communicate with the Bottle-O API must be created in the Bottle-O system and receives an authentication token. This token must be specified in the header of each request.

POST https://bottle-o.de/api/v2/purchase
Accept: application/json
Authorization: LuVcXkTOI7pBL7iF7kYYYCtWTZVi

If authentication fails, the API responds with the HTTP status code “401 Unauthorized”.