Barcodes¶
API endpoint for fetching barcodes.
Data management¶
/api/barcodes
¶
-
GET
/storekeeper/api/barcodes
¶ List barcodes items
Status Codes: - 200 OK – no error
- 401 Unauthorized – user was not logged in
Example request:
GET /storekeeper/api/barcodes HTTP/1.1 Host: localhost:8000 Content-Type: application/json
Example response:
HTTP/1.0 200 OK Content-Type: application/json [ { "barcode": "SKT82354", "id": 1, "item_id": 1, "main": true, "master": true, "quantity": 32.7 }, { "barcode": "9843-184125", "id": 2, "item_id": 1, "main": false, "master": false, "quantity": 1.5 } ]