API reference
The notso WMS REST API exposes the following resource groups under /api/v1. Pick a section from the sidebar for full request/response detail per endpoint.
| Group | Purpose |
|---|---|
| Products | List, read, create, update, and delete catalog products. |
| Orders | Create orders, fetch them by id, update status, soft-delete. |
| Inventory | Read per-location stock and aggregate summaries; add or remove stock. |
| Sellers | Manage seller (supplier) records. |
| Locations | List warehouse locations and their hierarchy. |
| Couriers | Discover the couriers configured for your tenant — required when creating orders. |
| Webhooks | Receive incoming orders and status updates from external platforms. |
Common request shape
All endpoints accept and return JSON. Every authenticated request must include:
http
Authorization: Bearer <tenant-slug>.<key>
Accept: application/json
Content-Type: application/json # for POST/PUTCommon response shape
Single resource:
json
{
"data": { /* the resource */ }
}Collection (paginated):
json
{
"data": [ /* resources */ ],
"links": {
"first": "https://wartung.notsowms.ro/api/v1/products?page=1",
"last": "https://wartung.notsowms.ro/api/v1/products?page=12",
"prev": null,
"next": "https://wartung.notsowms.ro/api/v1/products?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 12,
"per_page": 25,
"to": 25,
"total": 287
}
}Action endpoints (e.g. POST /orders) typically wrap a result envelope:
json
{
"success": true,
"message": "Comanda a fost creată cu succes",
"data": { /* result */ }
}See errors for failure shapes.