@lancom/shared 0.0.325 → 0.0.326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/js/api/admin.js +3 -0
- package/package.json +1 -1
package/assets/js/api/admin.js
CHANGED
|
@@ -146,6 +146,9 @@ export default {
|
|
|
146
146
|
markShipmentAsDispatched(order, shipment) {
|
|
147
147
|
return _post(`admin/shop/${order.shop?._id || order.shop}/order/${order._id}/shipment/${shipment._id || shipment.guid}/dispatched`, shipment);
|
|
148
148
|
},
|
|
149
|
+
markShipmentAsHasException(order, shipment) {
|
|
150
|
+
return _post(`admin/shop/${order.shop?._id || order.shop}/order/${order._id}/shipment/${shipment._id || shipment.guid}/has-exception`, shipment);
|
|
151
|
+
},
|
|
149
152
|
markSubOrderAsDispatched(order, subOrder) {
|
|
150
153
|
return _post(`admin/shop/${order.shop?._id || order.shop}/order/${order._id}/sub-order/${subOrder._id}/dispatched`, subOrder);
|
|
151
154
|
},
|