@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.
@@ -110,7 +110,7 @@ function querySubscriptionContracts(payload) {
110
110
  function __querySubscriptionContracts({ host }) {
111
111
  const metadata = {
112
112
  entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
113
- method: "POST",
113
+ method: "GET",
114
114
  methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts",
115
115
  packageName: PACKAGE_NAME,
116
116
  url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
@@ -118,7 +118,7 @@ function querySubscriptionContracts(payload) {
118
118
  data: payload,
119
119
  host
120
120
  }),
121
- data: payload,
121
+ params: toURLSearchParams(payload, true),
122
122
  transformResponse: (payload2) => transformPaths(payload2, [
123
123
  {
124
124
  transformFn: transformRESTTimestampToSDKTimestamp,