Hi,
We created a Shipping Profile that includes products and rates;
0 - 25$ → 5 USD price
Up to 25$ → Free Price
However, we found that recalculating shipping for a Subscription Contract returns the wrong shipping rate. For example, for a subscription of 37$ UDS, it returned shippingOptions of 5$ rate (I verified that the subscription includes the products in the shipping profile), instead of free shipping.
Is this a known bug? Should I do anything differently?
curl request:
curl --location --request POST 'https://domain.myshopify.com/admin/api/2021-01/graphql.json' \
--header 'X-Shopify-Access-Token: fake' \
--header 'Content-Type: application/json' \
--header 'Cookie: _secure_admin_session_id=fake; _secure_admin_session_id_csrf=fake; request_method=POST' \
--data-raw '{"query":"{subscriptionDraft(id:\"gid://shopify/SubscriptionDraft/614183022\"){id,shippingOptions{__typename,... on SubscriptionShippingOptionResultSuccess{shippingOptions{title,price{amount,currencyCode}}},... on SubscriptionShippingOptionResultFailure{message}}}}","variables":{}}'
Attaching the rates as well:
Thanks!