@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 = `/v2/orders/${this.orgId}/${this.storeId}/${orderId}/${orderItemId}/vat-rate-name/${vatRateName}`;
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.3.7-beta.0",
3
+ "version": "4.3.7-beta.1",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [