u
This commit is contained in:
@@ -26,6 +26,10 @@ Updates specified fields of an existing warehouse for the selected company.
|
||||
}
|
||||
```
|
||||
|
||||
## Signals
|
||||
|
||||
On success, emits SSE signal: `warehouse` (see [`GET /events`](../events.md)).
|
||||
|
||||
## Response `200`
|
||||
|
||||
Updated warehouse
|
||||
|
||||
@@ -22,6 +22,10 @@ Sort order will be automatically appended if omitted.
|
||||
}
|
||||
```
|
||||
|
||||
## Signals
|
||||
|
||||
On success, emits SSE signal: `warehouse` (see [`GET /events`](../events.md)).
|
||||
|
||||
## Response `201`
|
||||
|
||||
Created warehouse
|
||||
|
||||
@@ -12,6 +12,10 @@ Deletes a warehouse if not in use in the ledger.
|
||||
|-------|----------|------|-------------|
|
||||
| `id` | yes | integer | Warehouse ID |
|
||||
|
||||
## Signals
|
||||
|
||||
On success, emits SSE signal: `warehouse` (see [`GET /events`](../events.md)).
|
||||
|
||||
## Response `204`
|
||||
|
||||
Warehouse deleted
|
||||
|
||||
@@ -22,6 +22,10 @@ Reorders warehouses for the selected company.
|
||||
}
|
||||
```
|
||||
|
||||
## Signals
|
||||
|
||||
On success, emits SSE signal: `warehouse` (see [`GET /events`](../events.md)).
|
||||
|
||||
## Response `200`
|
||||
|
||||
Applied warehouse order
|
||||
|
||||
Reference in New Issue
Block a user