@djust-b2b/djust-front-sdk 1.10.0 → 1.10.2
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.
|
@@ -160,11 +160,9 @@ async function updateCommercialOrderShippingType({ orderId, shippingType, }) {
|
|
|
160
160
|
async function updateLogisticOrderCustomFieldsValue({ orderLogisticId, customFieldsValues, }) {
|
|
161
161
|
(0, parameters_validation_1.required)({ orderLogisticId });
|
|
162
162
|
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
163
|
-
method: "
|
|
163
|
+
method: "PATCH",
|
|
164
164
|
path: `/v1/shop/logistic-orders/${orderLogisticId}`,
|
|
165
|
-
body: JSON.stringify(
|
|
166
|
-
customFieldsValues,
|
|
167
|
-
}),
|
|
165
|
+
body: JSON.stringify(customFieldsValues),
|
|
168
166
|
});
|
|
169
167
|
return data;
|
|
170
168
|
}
|