The SwiftPOS API lets developers read and create data in your SwiftPOS account using JSON over HTTPS. API access is included in the Professional plan.
Endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/v1/login | Get an API token (30 days) |
| GET | /api/v1/products | List products |
| GET | /api/v1/products/barcode?code= | Find product by barcode |
| GET / POST | /api/v1/sales | List or create sales |
| GET | /api/v1/customers | List customers |
| GET | /api/v1/inventory | Stock levels |
| GET | /api/v1/instalments | Instalment agreements |
| GET | /api/v1/reports/summary | Sales summary |
Send the token as Authorization: Bearer <token>. Contact us for full documentation.