u
This commit is contained in:
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user