@@ -81,7 +84,7 @@ Find more information about the module [GraphQl Custom Config](https://github.co
## Resources
-- [Vue Storefront Documentation](https://docs.vuestorefront.io/v2/)
+- [Alokai Documentation](https://docs.vuestorefront.io/v2/)
- [Magento 2 integration Documentation (WIP)](https://docs.vuestorefront.io/magento)
- [Community Chat](http://discord.vuestorefront.io)
diff --git a/packages/api-client/__tests__/mockData/api/storeConfig.ts b/packages/api-client/__tests__/mockData/api/storeConfig.ts
index e86ff2b64..68a7ec02a 100644
--- a/packages/api-client/__tests__/mockData/api/storeConfig.ts
+++ b/packages/api-client/__tests__/mockData/api/storeConfig.ts
@@ -24,7 +24,7 @@ const STORE_CONFIG_MOCK_RESP = {
list_mode: "grid-list",
list_per_page: 10,
list_per_page_values: "5,10,15,20,25",
- locale: "en_EN",
+ locale: expect.any(String),
logo_alt: null,
logo_height: null,
logo_width: null,
diff --git a/packages/api-client/src/types/context.ts b/packages/api-client/src/types/context.ts
index 1b832596a..5d76e05f8 100644
--- a/packages/api-client/src/types/context.ts
+++ b/packages/api-client/src/types/context.ts
@@ -2,4 +2,5 @@ import { ApiClientMethods, IntegrationContext } from "@vue-storefront/middleware
import { MagentoApiMethods } from "@vue-storefront/magento-types";
import { ClientInstance, Config } from "./setup";
-export type Context = IntegrationContext
>;
+// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Allow extending this interface
+export interface Context extends IntegrationContext> {}
diff --git a/packages/load-tests/README.md b/packages/load-tests/README.md
index e6e9073b6..00b371414 100644
--- a/packages/load-tests/README.md
+++ b/packages/load-tests/README.md
@@ -23,8 +23,8 @@ Please run tests locally before running on the cloud or comitting them to make s
#### Accessing K6 web dashboard
Before you ask the K6 cloud to run the tests for you, please make sure that:
-1. You logged in at [app.k6.io](https://app.k6.io) with your VSF Google domain account
-2. You were invited to the VSF K6 organization (K6 won't automatically add you to it - even though you're using your domain account) - ask Miłosz if you don't have access
+1. You logged in at [app.k6.io](https://app.k6.io) with your Alokai Google domain account
+2. You were invited to the Alokai K6 organization (K6 won't automatically add you to it - even though you're using your domain account) - ask Miłosz if you don't have access
3. In the sidebar in the top right, select the "Magento" project.
That way you'll be able to access the test results.
diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md
index ea5249f75..43bfdb3be 100644
--- a/packages/sdk/CHANGELOG.md
+++ b/packages/sdk/CHANGELOG.md
@@ -1,11 +1,10 @@
# @vue-storefront/magento-sdk
-## 2.1.1-rc.0
+## 2.1.1
### Patch Changes
-- Updated dependencies [a4fd7ddf]
- - @vue-storefront/magento-types@1.1.0-rc.0
+- c5d63066: [FIXED] Correctly passing properties and options to `customQuery` and `customMutation` SDK methods. Previously, the `customHeaders` option was not being passed properly. Now, all options will be properly passed to the `customQuery` and `customMutation` methods.
## 2.1.0
diff --git a/packages/sdk/__tests__/unit/customMutation.unit.spec.ts b/packages/sdk/__tests__/unit/customMutation.unit.spec.ts
index fceccb5fb..0f236c9f0 100644
--- a/packages/sdk/__tests__/unit/customMutation.unit.spec.ts
+++ b/packages/sdk/__tests__/unit/customMutation.unit.spec.ts
@@ -3,7 +3,7 @@ import { describeGroup } from './__config__/jest.setup';
import { client } from '../../src';
import { MethodBaseOptions } from '../../src/types';
-const PARAMS_MOCK = { mutation: '{ __typename }', mutationVariables: {} };
+const PARAMS_MOCK = { mutation: '{ __typename }', mutationVariables: {}, customHeaders: {} };
const OPTIONS_MOCK = { clientConfig: {}, customHeaders: {} } as MethodBaseOptions;
const RESPONSE_MOCK = { data: { data: 'some_data', error: null } };
const ERROR_MOCK = new Error('error');
@@ -24,7 +24,11 @@ describe(describeGroup('customMutation'), () => {
it('makes a call to API Middleware with proper params and options', async () => {
await customMutation(PARAMS_MOCK, OPTIONS_MOCK);
- expect(client.post).toBeCalledWith('customMutation', [expect.objectContaining(PARAMS_MOCK), {}], {});
+ expect(client.post).toBeCalledWith(
+ 'customMutation',
+ { customHeaders: {}, mutation: '{ __typename }', mutationVariables: {} },
+ {},
+ );
});
it('extracts and returns a response', async () => {
diff --git a/packages/sdk/__tests__/unit/customQuery.unit.spec.ts b/packages/sdk/__tests__/unit/customQuery.unit.spec.ts
index 537570597..6b844568e 100644
--- a/packages/sdk/__tests__/unit/customQuery.unit.spec.ts
+++ b/packages/sdk/__tests__/unit/customQuery.unit.spec.ts
@@ -24,7 +24,11 @@ describe(describeGroup('customQuery'), () => {
it('makes a call to API Middleware with proper params and options', async () => {
await customQuery(PARAMS_MOCK, OPTIONS_MOCK);
- expect(client.post).toBeCalledWith('customQuery', [expect.objectContaining(PARAMS_MOCK), {}], {});
+ expect(client.post).toBeCalledWith(
+ 'customQuery',
+ { customHeaders: {}, query: '{ __typename }', queryVariables: {} },
+ {},
+ );
});
it('extracts and returns a response', async () => {
diff --git a/packages/sdk/package.json b/packages/sdk/package.json
index 89d5c471d..18ec137ea 100644
--- a/packages/sdk/package.json
+++ b/packages/sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/magento-sdk",
- "version": "2.1.1-rc.0",
+ "version": "2.1.1",
"main": "lib/index.cjs.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
diff --git a/packages/sdk/src/methods/addProductToWishList/index.ts b/packages/sdk/src/methods/addProductToWishList/index.ts
index 66172706e..232baff10 100644
--- a/packages/sdk/src/methods/addProductToWishList/index.ts
+++ b/packages/sdk/src/methods/addProductToWishList/index.ts
@@ -22,10 +22,10 @@ export type AddProductToWishListResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.addProductToWishList | addProductToWishList} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/addProductToWishList | addProductToWishList} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#addProductToWishListQuery | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/addProductToWishListQuery | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type AddProductToWishListResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#AddProductToWishListResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/AddProductToWishListResponse}.
*
* @example
* ```ts
diff --git a/packages/sdk/src/methods/addProductsToCart/index.ts b/packages/sdk/src/methods/addProductsToCart/index.ts
index 30927e939..7d040cf52 100644
--- a/packages/sdk/src/methods/addProductsToCart/index.ts
+++ b/packages/sdk/src/methods/addProductsToCart/index.ts
@@ -21,10 +21,10 @@ export type AddProductsToCartResponse
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.availableStores | availableStores } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/availableStores | availableStores } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#availableStores | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/availableStores | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -33,7 +33,7 @@ export type AvailableStoresResponse
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#AvailableStoresResponse | AvailableStoresResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/AvailableStoresResponse | AvailableStoresResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/cart/index.ts b/packages/sdk/src/methods/cart/index.ts
index efadcc35c..4eb5a9900 100644
--- a/packages/sdk/src/methods/cart/index.ts
+++ b/packages/sdk/src/methods/cart/index.ts
@@ -20,10 +20,10 @@ export type CartResponse = CartQuery> = ApolloQ
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.cart | cart} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cart | cart} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#cart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type CartResponse = CartQuery> = ApolloQ
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CartResponse | CartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CartResponse | CartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/cartTotalQty/index.ts b/packages/sdk/src/methods/cartTotalQty/index.ts
index eb687e8c8..8db5fe59f 100644
--- a/packages/sdk/src/methods/cartTotalQty/index.ts
+++ b/packages/sdk/src/methods/cartTotalQty/index.ts
@@ -25,10 +25,10 @@ export type CartTotalQtyResponse = Cate
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.categoryList | categoryList} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/categoryList | categoryList} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#categoryList | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/categoryList | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type CategoryListResponse = Cate
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CategoryListResponse | CategoryListResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CategoryListResponse | CategoryListResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/categorySearch/index.ts b/packages/sdk/src/methods/categorySearch/index.ts
index 9fcdef05a..e816732d7 100644
--- a/packages/sdk/src/methods/categorySearch/index.ts
+++ b/packages/sdk/src/methods/categorySearch/index.ts
@@ -23,10 +23,10 @@ export type CategorySearchResponse =
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.categorySearch | categorySearch} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/categorySearch | categorySearch} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#categorySearchQuery | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/categorySearchQuery | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -39,7 +39,7 @@ export type CategorySearchResponse =
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CategorySearchResponse | CategorySearchResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CategorySearchResponse | CategorySearchResponse}.
*
* @example
* Simple usage without filters
diff --git a/packages/sdk/src/methods/changeCustomerPassword/index.ts b/packages/sdk/src/methods/changeCustomerPassword/index.ts
index 8dcf99036..88a299357 100644
--- a/packages/sdk/src/methods/changeCustomerPassword/index.ts
+++ b/packages/sdk/src/methods/changeCustomerPassword/index.ts
@@ -11,7 +11,7 @@ import { CustomQuery, MethodOptions } from '../../types';
export type ChangeCustomerPasswordMutation = { changeCustomerPassword: Mutation['changeCustomerPassword'] };
/**
- * Parameters for the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#changeCustomerPassword | changeCustomerPassword } method.
+ * Parameters for the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/changeCustomerPassword | changeCustomerPassword } method.
*/
export type ChangeCustomerPasswordInput = { currentPassword: string; newPassword: string };
@@ -27,10 +27,10 @@ export type ChangeCustomerPasswordResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.changeCustomerPassword | changeCustomerPassword } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/changeCustomerPassword | changeCustomerPassword } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#changeCustomerPassword | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/changeCustomerPassword | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -43,7 +43,7 @@ export type ChangeCustomerPasswordResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ChangeCustomerPasswordResponse | ChangeCustomerPasswordResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ChangeCustomerPasswordResponse | ChangeCustomerPasswordResponse}.
*
* @example
* Simple usage, change customer password:
diff --git a/packages/sdk/src/methods/cmsBlocks/index.ts b/packages/sdk/src/methods/cmsBlocks/index.ts
index 8b1c2ef92..01fdb007e 100644
--- a/packages/sdk/src/methods/cmsBlocks/index.ts
+++ b/packages/sdk/src/methods/cmsBlocks/index.ts
@@ -20,10 +20,10 @@ export type CmsBlocksResponse = CmsBlockQue
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.cmsBlocks | cmsBlocks } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cmsBlocks | cmsBlocks } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#cmsBlocks | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cmsBlocks | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type CmsBlocksResponse = CmsBlockQue
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CmsBlocksResponse | CmsBlocksResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CmsBlocksResponse | CmsBlocksResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/cmsPage/index.ts b/packages/sdk/src/methods/cmsPage/index.ts
index 917e1be8f..d1e8c7a77 100644
--- a/packages/sdk/src/methods/cmsPage/index.ts
+++ b/packages/sdk/src/methods/cmsPage/index.ts
@@ -20,10 +20,10 @@ export type CmsPageResponse = CmsPageQuery>
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.cmsPage | cmsPage } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cmsPage | cmsPage } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#cmsPage | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/cmsPage | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type CmsPageResponse = CmsPageQuery>
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CmsPageResponse | CmsPageResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CmsPageResponse | CmsPageResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/countries/index.ts b/packages/sdk/src/methods/countries/index.ts
index 4f47dba03..70c69d5f8 100644
--- a/packages/sdk/src/methods/countries/index.ts
+++ b/packages/sdk/src/methods/countries/index.ts
@@ -20,10 +20,10 @@ export type CountriesResponse = CountriesQ
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.countries | countries } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/countries | countries } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#countries | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/countries | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -32,7 +32,7 @@ export type CountriesResponse = CountriesQ
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CountriesResponse | CountriesResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CountriesResponse | CountriesResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/createCustomer/index.ts b/packages/sdk/src/methods/createCustomer/index.ts
index e549a173d..096952a3e 100644
--- a/packages/sdk/src/methods/createCustomer/index.ts
+++ b/packages/sdk/src/methods/createCustomer/index.ts
@@ -21,10 +21,10 @@ export type CreateCustomerResponse
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.createCustomer | createCustomer } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/createCustomer | createCustomer } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#createCustomer | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/createCustomer | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type CreateCustomerResponse
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CreateCustomerResponse | CreateCustomerResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CreateCustomerResponse | CreateCustomerResponse}.
*
* @example
* Simple usage with basic customer data:
diff --git a/packages/sdk/src/methods/createCustomerAddress/index.ts b/packages/sdk/src/methods/createCustomerAddress/index.ts
index 722e368ef..ef0bac8d2 100644
--- a/packages/sdk/src/methods/createCustomerAddress/index.ts
+++ b/packages/sdk/src/methods/createCustomerAddress/index.ts
@@ -22,10 +22,10 @@ export type CreateCustomerAddressResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.createCustomerAddress | createCustomerAddress } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/createCustomerAddress | createCustomerAddress } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#createCustomerAddress | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/createCustomerAddress | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type CreateCustomerAddressResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CreateCustomerAddressResponse | CreateCustomerAddressResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CreateCustomerAddressResponse | CreateCustomerAddressResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/createEmptyCart/index.ts b/packages/sdk/src/methods/createEmptyCart/index.ts
index bbbafae3d..ab22d53c0 100644
--- a/packages/sdk/src/methods/createEmptyCart/index.ts
+++ b/packages/sdk/src/methods/createEmptyCart/index.ts
@@ -21,10 +21,10 @@ export type CreateEmptyCartResponse = CurrencyQuer
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.currency | currency } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/currency | currency } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#currency | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/currency | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -32,7 +32,7 @@ export type CurrencyResponse = CurrencyQuer
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CurrencyResponse | CurrencyResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CurrencyResponse | CurrencyResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/customMutation/index.ts b/packages/sdk/src/methods/customMutation/index.ts
index b0a22ec6f..b2b6e2515 100644
--- a/packages/sdk/src/methods/customMutation/index.ts
+++ b/packages/sdk/src/methods/customMutation/index.ts
@@ -20,7 +20,7 @@ export type CustomMutationInput = {
/**
* Method to send an arbitrary GraphQL mutation to the Magento GraphQL endpoint
- * For sending query, please see {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#customQuery | customQuery}.
+ * For sending query, please see {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customQuery | customQuery}.
*
* @remarks
* This method sends a POST request to the
@@ -39,7 +39,7 @@ export type CustomMutationInput = {
* @typeParam INPUT - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CustomQueryResponse | CustomQueryResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CustomQueryResponse | CustomQueryResponse}.
*
* @example
* Simple usage:
@@ -77,7 +77,7 @@ export async function customMutation, IN
return new AxiosRequestSender(client)
.setUrl('customMutation')
.setMethod('POST')
- .setProps([params, options?.customHeaders])
+ .setProps({ ...params, customHeaders: options?.customHeaders })
.setConfig(options?.clientConfig)
.send();
}
diff --git a/packages/sdk/src/methods/customQuery/index.ts b/packages/sdk/src/methods/customQuery/index.ts
index bd8630684..9a51833d9 100644
--- a/packages/sdk/src/methods/customQuery/index.ts
+++ b/packages/sdk/src/methods/customQuery/index.ts
@@ -19,7 +19,7 @@ export type CustomQueryInput = {
/**
* Method to send an arbitrary GraphQL query to the Magento GraphQL endpoint
- * For sending mutation, please see {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#customMutation | customMutation}.
+ * For sending mutation, please see {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customMutation | customMutation}.
*
* @remarks
* This method sends a POST request to the
@@ -38,7 +38,7 @@ export type CustomQueryInput = {
* @typeParam INPUT - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CustomQueryResponse | CustomQueryResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CustomQueryResponse | CustomQueryResponse}.
*
* @example
* Simple usage:
@@ -92,7 +92,7 @@ export async function customQuery, INPUT ex
return new AxiosRequestSender(client)
.setUrl('customQuery')
.setMethod('POST')
- .setProps([params, options?.customHeaders])
+ .setProps({ ...params, customHeaders: options?.customHeaders })
.setConfig(options?.clientConfig)
.send();
}
diff --git a/packages/sdk/src/methods/customer/index.ts b/packages/sdk/src/methods/customer/index.ts
index edb53caf2..d3dc68a6a 100644
--- a/packages/sdk/src/methods/customer/index.ts
+++ b/packages/sdk/src/methods/customer/index.ts
@@ -20,10 +20,10 @@ export type CustomerResponse = CustomerQuer
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.customer | customer } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customer | customer } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#customer | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customer | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -32,7 +32,7 @@ export type CustomerResponse = CustomerQuer
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CustomerResponse | CustomerResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CustomerResponse | CustomerResponse}.
*
* @example
* The `customer()` returns the currently active user.
diff --git a/packages/sdk/src/methods/customerCart/index.ts b/packages/sdk/src/methods/customerCart/index.ts
index 0aeadd350..f131f9cad 100644
--- a/packages/sdk/src/methods/customerCart/index.ts
+++ b/packages/sdk/src/methods/customerCart/index.ts
@@ -19,10 +19,10 @@ export type CustomerCartResponse = Cust
* Method to fetch customer cart
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.customerCart | customerCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customerCart | customerCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#customerCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/customerCart | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -31,7 +31,7 @@ export type CustomerCartResponse = Cust
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#CustomerCartResponse | CustomerCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/CustomerCartResponse | CustomerCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/deleteCustomerAddress/index.ts b/packages/sdk/src/methods/deleteCustomerAddress/index.ts
index 3f01fdd59..123fa742d 100644
--- a/packages/sdk/src/methods/deleteCustomerAddress/index.ts
+++ b/packages/sdk/src/methods/deleteCustomerAddress/index.ts
@@ -22,10 +22,10 @@ export type DeleteCustomerAddressResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.deleteCustomerAddress | deleteCustomerAddress } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/deleteCustomerAddress | deleteCustomerAddress } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#deleteCustomerAddress | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/deleteCustomerAddress | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type DeleteCustomerAddressResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#DeleteCustomerAddressResponse | DeleteCustomerAddressResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/DeleteCustomerAddressResponse | DeleteCustomerAddressResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/generateCustomerToken/index.ts b/packages/sdk/src/methods/generateCustomerToken/index.ts
index a4515272f..4db4b8828 100644
--- a/packages/sdk/src/methods/generateCustomerToken/index.ts
+++ b/packages/sdk/src/methods/generateCustomerToken/index.ts
@@ -29,10 +29,10 @@ export type GenerateCustomerTokenResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.generateCustomerToken | generateCustomerToken } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/generateCustomerToken | generateCustomerToken } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#generateCustomerToken | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/generateCustomerToken | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -45,7 +45,7 @@ export type GenerateCustomerTokenResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#GenerateCustomerTokenResponse | GenerateCustomerTokenResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/GenerateCustomerTokenResponse | GenerateCustomerTokenResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/getAvailableCustomerPaymentMethods/index.ts b/packages/sdk/src/methods/getAvailableCustomerPaymentMethods/index.ts
index 574f35126..573fb23ad 100644
--- a/packages/sdk/src/methods/getAvailableCustomerPaymentMethods/index.ts
+++ b/packages/sdk/src/methods/getAvailableCustomerPaymentMethods/index.ts
@@ -22,10 +22,10 @@ export type GetAvailableCustomerPaymentMethodsResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.getAvailableCustomerPaymentMethods | getAvailableCustomerPaymentMethods } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableCustomerPaymentMethods | getAvailableCustomerPaymentMethods } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#getAvailableCustomerPaymentMethods | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableCustomerPaymentMethods | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -34,7 +34,7 @@ export type GetAvailableCustomerPaymentMethodsResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#GetAvailableCustomerPaymentMethodsResponse | GetAvailableCustomerPaymentMethodsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/GetAvailableCustomerPaymentMethodsResponse | GetAvailableCustomerPaymentMethodsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/getAvailableCustomerShippingMethods/index.ts b/packages/sdk/src/methods/getAvailableCustomerShippingMethods/index.ts
index d73b48207..e7ba0b837 100644
--- a/packages/sdk/src/methods/getAvailableCustomerShippingMethods/index.ts
+++ b/packages/sdk/src/methods/getAvailableCustomerShippingMethods/index.ts
@@ -23,10 +23,10 @@ export type GetAvailableCustomerShippingMethodsResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.getAvailableCustomerShippingMethods | getAvailableCustomerShippingMethods } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableCustomerShippingMethods | getAvailableCustomerShippingMethods } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#getAvailableCustomerShippingMethods | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableCustomerShippingMethods | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -35,7 +35,7 @@ export type GetAvailableCustomerShippingMethodsResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#GetAvailableCustomerShippingMethodsResponse | GetAvailableCustomerShippingMethodsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/GetAvailableCustomerShippingMethodsResponse | GetAvailableCustomerShippingMethodsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/getAvailablePaymentMethods/index.ts b/packages/sdk/src/methods/getAvailablePaymentMethods/index.ts
index c178fc833..bba540609 100644
--- a/packages/sdk/src/methods/getAvailablePaymentMethods/index.ts
+++ b/packages/sdk/src/methods/getAvailablePaymentMethods/index.ts
@@ -19,14 +19,14 @@ export type GetAvailablePaymentMethodsResponse<
/**
* Method to get available payment methods for the received guest cart.
- * To get available customer payment methods use {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#getAvailableCustomerPaymentMethods | getAvailableCustomerPaymentMethods }.
+ * To get available customer payment methods use {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableCustomerPaymentMethods | getAvailableCustomerPaymentMethods }.
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.getAvailablePaymentMethods | getAvailablePaymentMethods } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailablePaymentMethods | getAvailablePaymentMethods } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#getAvailablePaymentMethods | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailablePaymentMethods | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -39,7 +39,7 @@ export type GetAvailablePaymentMethodsResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#GetAvailablePaymentMethodsResponse | GetAvailablePaymentMethodsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/GetAvailablePaymentMethodsResponse | GetAvailablePaymentMethodsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/getAvailableShippingMethods/index.ts b/packages/sdk/src/methods/getAvailableShippingMethods/index.ts
index 7501bf507..91b97308e 100644
--- a/packages/sdk/src/methods/getAvailableShippingMethods/index.ts
+++ b/packages/sdk/src/methods/getAvailableShippingMethods/index.ts
@@ -22,10 +22,10 @@ export type GetAvailableShippingMethodsResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.getAvailableShippingMethods | getAvailableShippingMethods } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableShippingMethods | getAvailableShippingMethods } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#getAvailableShippingMethods | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/getAvailableShippingMethods | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type GetAvailableShippingMethodsResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#GetAvailableShippingMethodsResponse | GetAvailableShippingMethodsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/GetAvailableShippingMethodsResponse | GetAvailableShippingMethodsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/getCustomerAddresses/index.ts b/packages/sdk/src/methods/getCustomerAddresses/index.ts
index 3aafe0d8f..780a3a9e9 100644
--- a/packages/sdk/src/methods/getCustomerAddresses/index.ts
+++ b/packages/sdk/src/methods/getCustomerAddresses/index.ts
@@ -22,10 +22,10 @@ export type GetCustomerAddressesResponse = Merge
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.mergeCarts | mergeCarts } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/mergeCarts | mergeCarts } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#mergeCarts | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/mergeCarts | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type MergeCartsResponse = Merge
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#MergeCartsResponse | MergeCartsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/MergeCartsResponse | MergeCartsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/placeOrder/index.ts b/packages/sdk/src/methods/placeOrder/index.ts
index 09498406d..31d1fa496 100644
--- a/packages/sdk/src/methods/placeOrder/index.ts
+++ b/packages/sdk/src/methods/placeOrder/index.ts
@@ -20,10 +20,10 @@ export type PlaceOrderResponse = Place
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.placeOrder | placeOrder } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/placeOrder | placeOrder } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#placeOrder | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/placeOrder | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type PlaceOrderResponse = Place
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#PlaceOrderResponse | PlaceOrderResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/PlaceOrderResponse | PlaceOrderResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/productDetails/index.ts b/packages/sdk/src/methods/productDetails/index.ts
index 839ef05b3..01fa2dcde 100644
--- a/packages/sdk/src/methods/productDetails/index.ts
+++ b/packages/sdk/src/methods/productDetails/index.ts
@@ -21,10 +21,10 @@ export type ProductDetailsResponse =
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.productDetails | productDetails} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productDetails | productDetails} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#productDetailsQuery | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productDetailsQuery | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type ProductDetailsResponse =
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ProductDetailsResponse | ProductDetailsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ProductDetailsResponse | ProductDetailsResponse}.
*
* @example
* Simple usage without filters, sorting or pagination:
diff --git a/packages/sdk/src/methods/productReview/index.ts b/packages/sdk/src/methods/productReview/index.ts
index 2f0fac97c..a0e3a4bd7 100644
--- a/packages/sdk/src/methods/productReview/index.ts
+++ b/packages/sdk/src/methods/productReview/index.ts
@@ -21,10 +21,10 @@ export type ProductReviewResponse = Pr
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.productReview | productReview } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productReview | productReview } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#productReview | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productReview | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type ProductReviewResponse = Pr
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ProductReviewResponse | ProductReviewResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ProductReviewResponse | ProductReviewResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/productReviewRatingsMetadata/index.ts b/packages/sdk/src/methods/productReviewRatingsMetadata/index.ts
index 17cc9b1d2..da4380058 100644
--- a/packages/sdk/src/methods/productReviewRatingsMetadata/index.ts
+++ b/packages/sdk/src/methods/productReviewRatingsMetadata/index.ts
@@ -22,10 +22,10 @@ export type ProductReviewRatingsMetadataResponse<
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.productReviewRatingsMetadata | productReviewRatingsMetadata } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productReviewRatingsMetadata | productReviewRatingsMetadata } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#productReviewRatingsMetadata | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/productReviewRatingsMetadata | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -34,7 +34,7 @@ export type ProductReviewRatingsMetadataResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ProductReviewRatingsMetadataResponse | ProductReviewRatingsMetadataResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ProductReviewRatingsMetadataResponse | ProductReviewRatingsMetadataResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/products/index.ts b/packages/sdk/src/methods/products/index.ts
index 2cf6636f3..c1f26bf51 100644
--- a/packages/sdk/src/methods/products/index.ts
+++ b/packages/sdk/src/methods/products/index.ts
@@ -21,7 +21,7 @@ export type ProductsListResponse = Prod
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.products | products} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/products | products} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
* {@link @vue-storefront/magento-types#productsListQuery | here}.
@@ -37,7 +37,7 @@ export type ProductsListResponse = Prod
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ProductsListResponse | ProductsListResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ProductsListResponse | ProductsListResponse}.
*
* @example
* Simple usage without filters, sorting or pagination:
diff --git a/packages/sdk/src/methods/relatedProducts/index.ts b/packages/sdk/src/methods/relatedProducts/index.ts
index 8104d3fb3..51f41d936 100644
--- a/packages/sdk/src/methods/relatedProducts/index.ts
+++ b/packages/sdk/src/methods/relatedProducts/index.ts
@@ -21,10 +21,10 @@ export type RelatedProductsResponse
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.relatedProduct | relatedProduct} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/relatedProduct | relatedProduct} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#relatedProduct | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/relatedProduct | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type RelatedProductsResponse
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#RelatedProductsResponse | RelatedProductsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/RelatedProductsResponse | RelatedProductsResponse}.
*
* @example
* Simple usage without filters, sorting or pagination:
diff --git a/packages/sdk/src/methods/removeCouponFromCart/index.ts b/packages/sdk/src/methods/removeCouponFromCart/index.ts
index 750ca0183..198ee087f 100644
--- a/packages/sdk/src/methods/removeCouponFromCart/index.ts
+++ b/packages/sdk/src/methods/removeCouponFromCart/index.ts
@@ -22,10 +22,10 @@ export type RemoveCouponFromCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.removeCouponFromCart | removeCouponFromCart} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/removeCouponFromCart | removeCouponFromCart} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#removeCouponFromCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/removeCouponFromCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type RemoveCouponFromCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#RemoveCouponFromCartResponse | RemoveCouponFromCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/RemoveCouponFromCartResponse | RemoveCouponFromCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/removeItemFromCart/index.ts b/packages/sdk/src/methods/removeItemFromCart/index.ts
index 5b92540b4..72c6c1dad 100644
--- a/packages/sdk/src/methods/removeItemFromCart/index.ts
+++ b/packages/sdk/src/methods/removeItemFromCart/index.ts
@@ -21,10 +21,10 @@ export type RemoveItemFromCartResponse =
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.resetPassword | resetPassword } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/resetPassword | resetPassword } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#resetPassword | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/resetPassword | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type ResetPasswordResponse =
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ResetPasswordResponse | ResetPasswordResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/ResetPasswordResponse | ResetPasswordResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/reviews/index.ts b/packages/sdk/src/methods/reviews/index.ts
index 2dc70bffe..0cd1b4b18 100644
--- a/packages/sdk/src/methods/reviews/index.ts
+++ b/packages/sdk/src/methods/reviews/index.ts
@@ -21,10 +21,10 @@ export type ReviewsResponse =
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.reviews | reviews } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/reviews | reviews } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#reviews | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/reviews | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type ReviewsResponse =
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#reviewsResponse | reviewsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/reviewsResponse | reviewsResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/revokeCustomerToken/index.ts b/packages/sdk/src/methods/revokeCustomerToken/index.ts
index 45b853545..5a0495309 100644
--- a/packages/sdk/src/methods/revokeCustomerToken/index.ts
+++ b/packages/sdk/src/methods/revokeCustomerToken/index.ts
@@ -23,10 +23,10 @@ export type RevokeCustomerTokenResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.revokeCustomerToken | revokeCustomerToken } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/revokeCustomerToken | revokeCustomerToken } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#revokeCustomerToken | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/revokeCustomerToken | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -35,7 +35,7 @@ export type RevokeCustomerTokenResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#RevokeCustomerTokenResponse | RevokeCustomerTokenResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/RevokeCustomerTokenResponse | RevokeCustomerTokenResponse}.
*
* @example
* Simple usage if the customer is logged in and the token is valid:
diff --git a/packages/sdk/src/methods/route/index.ts b/packages/sdk/src/methods/route/index.ts
index 0703ea698..0ce009e61 100644
--- a/packages/sdk/src/methods/route/index.ts
+++ b/packages/sdk/src/methods/route/index.ts
@@ -20,10 +20,10 @@ export type RouteResponse = RouteQuery> = Apol
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.route | route } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/route | route } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#route | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/route | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -36,7 +36,7 @@ export type RouteResponse = RouteQuery> = Apol
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#RouteResponse | RouteResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/RouteResponse | RouteResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/setBillingAddressOnCart/index.ts b/packages/sdk/src/methods/setBillingAddressOnCart/index.ts
index ae76bd2c7..b44937cba 100644
--- a/packages/sdk/src/methods/setBillingAddressOnCart/index.ts
+++ b/packages/sdk/src/methods/setBillingAddressOnCart/index.ts
@@ -22,10 +22,10 @@ export type SetBillingAddressOnCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.setBillingAddressOnCart | setBillingAddressOnCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setBillingAddressOnCart | setBillingAddressOnCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#setBillingAddressOnCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setBillingAddressOnCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type SetBillingAddressOnCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SetBillingAddressOnCartResponse | SetBillingAddressOnCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SetBillingAddressOnCartResponse | SetBillingAddressOnCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/setGuestEmailOnCart/index.ts b/packages/sdk/src/methods/setGuestEmailOnCart/index.ts
index db820bbac..cda1aeafa 100644
--- a/packages/sdk/src/methods/setGuestEmailOnCart/index.ts
+++ b/packages/sdk/src/methods/setGuestEmailOnCart/index.ts
@@ -22,10 +22,10 @@ export type SetGuestEmailOnCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.setGuestEmailOnCart | setGuestEmailOnCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setGuestEmailOnCart | setGuestEmailOnCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#setGuestEmailOnCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setGuestEmailOnCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type SetGuestEmailOnCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SetGuestEmailOnCartResponse | SetGuestEmailOnCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SetGuestEmailOnCartResponse | SetGuestEmailOnCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/setPaymentMethodOnCart/index.ts b/packages/sdk/src/methods/setPaymentMethodOnCart/index.ts
index 78a611aca..3f3491b06 100644
--- a/packages/sdk/src/methods/setPaymentMethodOnCart/index.ts
+++ b/packages/sdk/src/methods/setPaymentMethodOnCart/index.ts
@@ -22,10 +22,10 @@ export type SetPaymentMethodOnCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.setPaymentMethodOnCart | setPaymentMethodOnCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setPaymentMethodOnCart | setPaymentMethodOnCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#setPaymentMethodOnCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setPaymentMethodOnCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type SetPaymentMethodOnCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SetPaymentMethodOnCartResponse | SetPaymentMethodOnCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SetPaymentMethodOnCartResponse | SetPaymentMethodOnCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/setShippingAddressesOnCart/index.ts b/packages/sdk/src/methods/setShippingAddressesOnCart/index.ts
index 991ef4d15..202cc68a3 100644
--- a/packages/sdk/src/methods/setShippingAddressesOnCart/index.ts
+++ b/packages/sdk/src/methods/setShippingAddressesOnCart/index.ts
@@ -23,10 +23,10 @@ export type SetShippingAddressesOnCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.setShippingAddressOnCart | setShippingAddressOnCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setShippingAddressOnCart | setShippingAddressOnCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#setShippingAddressOnCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setShippingAddressOnCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -39,7 +39,7 @@ export type SetShippingAddressesOnCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SetShippingAddressesOnCartResponse | SetShippingAddressesOnCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SetShippingAddressesOnCartResponse | SetShippingAddressesOnCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/setShippingMethodsOnCart/index.ts b/packages/sdk/src/methods/setShippingMethodsOnCart/index.ts
index 63f26a658..54710e0b5 100644
--- a/packages/sdk/src/methods/setShippingMethodsOnCart/index.ts
+++ b/packages/sdk/src/methods/setShippingMethodsOnCart/index.ts
@@ -23,10 +23,10 @@ export type SetShippingMethodsOnCartResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.setShippingMethodsOnCart | setShippingMethodsOnCart } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setShippingMethodsOnCart | setShippingMethodsOnCart } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#setShippingMethodsOnCart | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/setShippingMethodsOnCart | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -39,7 +39,7 @@ export type SetShippingMethodsOnCartResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SetShippingMethodsOnCartResponse | SetShippingMethodsOnCartResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SetShippingMethodsOnCartResponse | SetShippingMethodsOnCartResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/storeConfig/index.ts b/packages/sdk/src/methods/storeConfig/index.ts
index 5089de4b1..34394300e 100644
--- a/packages/sdk/src/methods/storeConfig/index.ts
+++ b/packages/sdk/src/methods/storeConfig/index.ts
@@ -20,10 +20,10 @@ export type StoreConfigResponse = StoreC
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.storeConfig | storeConfig } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/storeConfig | storeConfig } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#storeConfig | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/storeConfig | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -32,7 +32,7 @@ export type StoreConfigResponse = StoreC
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#StoreConfigResponse | StoreConfigResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/StoreConfigResponse | StoreConfigResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/subscribeEmailToNewsletter/index.ts b/packages/sdk/src/methods/subscribeEmailToNewsletter/index.ts
index 89bd33043..f3cbd9e1b 100644
--- a/packages/sdk/src/methods/subscribeEmailToNewsletter/index.ts
+++ b/packages/sdk/src/methods/subscribeEmailToNewsletter/index.ts
@@ -22,10 +22,10 @@ export type SubscribeEmailToNewsletterResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.subscribeEmailToNewsletter | subscribeEmailToNewsletter } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/subscribeEmailToNewsletter | subscribeEmailToNewsletter } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#subscribeEmailToNewsletter | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/subscribeEmailToNewsletter | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type SubscribeEmailToNewsletterResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#SubscribeEmailToNewsletterResponse | SubscribeEmailToNewsletterResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/SubscribeEmailToNewsletterResponse | SubscribeEmailToNewsletterResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/updateCartItems/index.ts b/packages/sdk/src/methods/updateCartItems/index.ts
index 7db2826dd..8acafaddc 100644
--- a/packages/sdk/src/methods/updateCartItems/index.ts
+++ b/packages/sdk/src/methods/updateCartItems/index.ts
@@ -21,10 +21,10 @@ export type UpdateCartItemsResponse
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.updateCustomer | updateCustomer } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomer | updateCustomer } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#updateCustomer | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomer | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type UpdateCustomerResponse
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#UpdateCustomerResponse | UpdateCustomerResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/UpdateCustomerResponse | UpdateCustomerResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/updateCustomerAddress/index.ts b/packages/sdk/src/methods/updateCustomerAddress/index.ts
index deb2a2143..ab301aad0 100644
--- a/packages/sdk/src/methods/updateCustomerAddress/index.ts
+++ b/packages/sdk/src/methods/updateCustomerAddress/index.ts
@@ -23,10 +23,10 @@ export type UpdateCustomerAddressResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.updateCustomerAddress | updateCustomerAddress } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomerAddress | updateCustomerAddress } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#updateCustomerAddress | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomerAddress | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -39,7 +39,7 @@ export type UpdateCustomerAddressResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#UpdateCustomerAddressResponse | UpdateCustomerAddressResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/UpdateCustomerAddressResponse | UpdateCustomerAddressResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/updateCustomerEmail/index.ts b/packages/sdk/src/methods/updateCustomerEmail/index.ts
index a06861318..dd203766f 100644
--- a/packages/sdk/src/methods/updateCustomerEmail/index.ts
+++ b/packages/sdk/src/methods/updateCustomerEmail/index.ts
@@ -22,10 +22,10 @@ export type UpdateCustomerEmailResponse<
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.updateCustomerEmail | updateCustomerEmail } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomerEmail | updateCustomerEmail } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#updateCustomerEmail | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/updateCustomerEmail | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -38,7 +38,7 @@ export type UpdateCustomerEmailResponse<
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#UpdateCustomerEmailResponse | UpdateCustomerEmailResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/UpdateCustomerEmailResponse | UpdateCustomerEmailResponse}.
*
* @example
* Simple usage:
diff --git a/packages/sdk/src/methods/upsellProducts/index.ts b/packages/sdk/src/methods/upsellProducts/index.ts
index 1deb877f2..49c5134f4 100644
--- a/packages/sdk/src/methods/upsellProducts/index.ts
+++ b/packages/sdk/src/methods/upsellProducts/index.ts
@@ -21,10 +21,10 @@ export type UpsellProductsResponse =
*
* @remarks
* This method sends a GET request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.upsellProducts | upsellProducts} endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/upsellProducts | upsellProducts} endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#upsellProductQuery | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/upsellProductQuery | here}.
*
* @param params -
* Parameter object which can be used with this method.
@@ -37,7 +37,7 @@ export type UpsellProductsResponse =
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#UpsellProductsResponse | UpsellProductsResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/UpsellProductsResponse | UpsellProductsResponse}.
*
* @example
* Simple usage without filters, sorting or pagination:
diff --git a/packages/sdk/src/methods/wishlistItemsCount/index.ts b/packages/sdk/src/methods/wishlistItemsCount/index.ts
index 8ddb9ea28..c149af541 100644
--- a/packages/sdk/src/methods/wishlistItemsCount/index.ts
+++ b/packages/sdk/src/methods/wishlistItemsCount/index.ts
@@ -15,10 +15,10 @@ export type WishlistItemsCountResponse = Wi
*
* @remarks
* This method sends a POST request to the
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#ApiMethods.wishlistItemsCount | wishlistItemsCount } endpoint
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/wishlistItemsCount | wishlistItemsCount } endpoint
* of the Vue Storefront API Middleware.
* The default GraphQL query used by this method can be found
- * {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#wishlist | here}.
+ * {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/wishlist | here}.
*
* @param options -
* Options that can be passed to additionally configure the request
@@ -27,7 +27,7 @@ export type WishlistItemsCountResponse = Wi
* @typeParam Res - Customizable response interface to be used with custom queries.
*
* @returns
- * Returns a representation of the {@link https://docs.vuestorefront.io/sdk-magento2/reference/api/magento-api#WishlistItemsCountResponse | WishlistItemsCountResponse}.
+ * Returns a representation of the {@link https://docs.vuestorefront.io/integrations/magento/api/magento-api/WishlistItemsCountResponse | WishlistItemsCountResponse}.
*
* @example
* Simple usage: