@wix/auto_sdk_ecom_subscription-contracts 1.0.48 → 1.0.49

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.
@@ -153,7 +153,7 @@ function querySubscriptionContracts(payload) {
153
153
  function __querySubscriptionContracts({ host }) {
154
154
  const metadata = {
155
155
  entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
156
- method: "POST",
156
+ method: "GET",
157
157
  methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts",
158
158
  packageName: PACKAGE_NAME,
159
159
  url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
@@ -161,7 +161,7 @@ function querySubscriptionContracts(payload) {
161
161
  data: payload,
162
162
  host
163
163
  }),
164
- data: payload,
164
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
165
165
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
166
166
  {
167
167
  transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,