@djust-b2b/djust-front-sdk 1.29.1 → 1.29.3
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.
|
@@ -610,7 +610,7 @@ export declare function deleteCommercialOrderLines({ commercialOrderId, body, }:
|
|
|
610
610
|
* This function retrieves commercial order's data needed for the punchout, with order identified by the `commercialOrderId`.
|
|
611
611
|
* This `commercialOrderId` parameter is required and validated before the request is executed.
|
|
612
612
|
*
|
|
613
|
-
* 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
|
|
613
|
+
* 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
|
|
614
614
|
*
|
|
615
615
|
* | Parameter | Type | Required | Description |
|
|
616
616
|
* |------------------------------------|--------------------------------------|-----------------|----------------------------------------------------------------|
|
|
@@ -779,7 +779,7 @@ async function getCommercialOrderLines({ commercialOrderId, page, size, sort, su
|
|
|
779
779
|
async function updateCommercialOrderLines({ commercialOrderId, customFieldIdType, lineIdType, lineType, updateOrderCommercialLines, updateOrderLineIdType, updateOrderLineType, }) {
|
|
780
780
|
(0, parameters_validation_1.required)({ commercialOrderId });
|
|
781
781
|
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
782
|
-
method: "
|
|
782
|
+
method: "PUT",
|
|
783
783
|
path: `/v2/shop/commercial-orders/${commercialOrderId}/lines`,
|
|
784
784
|
body: JSON.stringify({
|
|
785
785
|
customFieldIdType,
|
|
@@ -832,7 +832,7 @@ async function deleteCommercialOrderLines({ commercialOrderId, body, }) {
|
|
|
832
832
|
* This function retrieves commercial order's data needed for the punchout, with order identified by the `commercialOrderId`.
|
|
833
833
|
* This `commercialOrderId` parameter is required and validated before the request is executed.
|
|
834
834
|
*
|
|
835
|
-
* 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
|
|
835
|
+
* 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
|
|
836
836
|
*
|
|
837
837
|
* | Parameter | Type | Required | Description |
|
|
838
838
|
* |------------------------------------|--------------------------------------|-----------------|----------------------------------------------------------------|
|