@longvansoftware/storefront-js-client 2.8.7 → 2.8.9

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.
@@ -1520,7 +1520,7 @@ class OrderService extends serviceSDK_1.Service {
1520
1520
  */
1521
1521
  updateReferralCode(partnerId, orderId, referralCode) {
1522
1522
  return __awaiter(this, void 0, void 0, function* () {
1523
- const endpoint = `/v2/orders/${partnerId}/${orderId}/${referralCode}/updateReferralCode`;
1523
+ const endpoint = `/orders/${partnerId}/${orderId}/${referralCode}/updateReferralCode`;
1524
1524
  const method = "PUT";
1525
1525
  try {
1526
1526
  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": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [