[Bug] subscriptionDraft shipping options returning option from incorrect profile

Topic summary

A bug was identified where subscriptionDraft shipping options returned options from an incorrect delivery profile, causing customers to be charged wrong amounts when subscription shipping was recalculated. While checkout applied correct options, the draft API pulled from the wrong profile.

Key Details:

  • The issue affected subscriptions with specific product/variant configurations
  • User provided GIDs for the subscription contract, product, variant, and both correct/incorrect delivery profiles

Resolution Timeline:

  • Initial report included screenshot evidence
  • Team temporarily rolled back maximum line item increases (identified as root cause)
  • Fix deployed after extended delay, enabling large line item counts while resolving the profile mismatch
  • Limited rollout to small merchant subset initially
  • Original reporter confirmed fix works correctly based on their test data
Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

We’ve got a subscription with a single line/product in. When we retrieve shippingOptions for a subscriptionContractDraft created for the subscription contract, we’re receiving an option from a delivery profile that the product does not belong to. At checkout, the correct shipping option is applied, however due to this bug if/when we recalculate shipping for the subscription we end up applying the wrong shipping option and charging the customer the wrong amount.

I realize this screen shot isn’t going to be enough to prove what I’m saying so please let me know what else I can provide.

Here is the subscription, product/variant and shipping profile information:

  • gid://shopify/SubscriptionContract/9854812353
  • gid://shopify/Product/7377980620993
  • gid://shopify/ProductVariant/42002885738689
  • Correct profile that shipping option should be getting pulled from gid://shopify/DeliveryProfile/86676832449
  • Incorrect profile that shipping option is getting pulled from: gid://shopify/DeliveryProfile/86590226625

Hi Brian_s,

Thanks for reporting this and I’m sorry to hear you are experiencing this problem. We will investigate and revert to you soon.

Hi Brian_s,

We have temporarily rolled back the increase of the maximum number of line items because this is the cause of the discrepancy. Once we’ve resolved the issue, we will roll it back out again.

Please feel free to ask any questions.

Thanks for the quick response @lockathan

Hi Brian_S

Apologies for the long delay - we have deployed a fix for this issue. Please can you confirm whether everything is working correctly. This fix enables subscriptions contracts with large numbers of line items in addition to fixing the issue that you identified.

The fix has been rolled out for only a small number of merchants, such as the merchant that you tested with initially in this post. We will roll it out more widely once we’re sure it resolves the problem.

Thanks!!

Its been a long time but I checked the results based on the test data I originally posted with and it does look right now (assuming the results should be the same as 6m ago for that merchant)

1 Like