This commit is contained in:
seb
2026-10-19 01:32:42 +02:00
parent c730244902
commit cce966d021
9 changed files with 181 additions and 22 deletions

View File

@@ -104,7 +104,7 @@ const shipment = await store.order.createShipment(googleAuthId, 10);
*Source: `src/store/order/delete.js`*
Deletes an order by its id within the user's selected company.
Deletes an order by its id within the user's selected company. Refuses to delete the order if any shipment manifest references it.
**Parameters**
@@ -120,7 +120,7 @@ Deletes an order by its id within the user's selected company.
**Throws**
`Error` — If the order is not found.
`Error` — If the order is not found or has shipment manifests.
**Example**