@longvansoftware/storefront-js-client 4.3.7-beta.0 → 4.3.7-beta.1
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.
|
@@ -1609,7 +1609,7 @@ class OrderService extends serviceSDK_1.Service {
|
|
|
1609
1609
|
*/
|
|
1610
1610
|
updateVatByRateName(orderId, orderItemId, vatRateName) {
|
|
1611
1611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1612
|
-
const endpoint = `/
|
|
1612
|
+
const endpoint = `/orders/${this.orgId}/${this.storeId}/${orderId}/${orderItemId}/vat-rate-name/${vatRateName}`;
|
|
1613
1613
|
const method = "PUT";
|
|
1614
1614
|
try {
|
|
1615
1615
|
const response = yield this.restApiCallWithToken(endpoint, method);
|