Selected shipping option now matches the available options in createCheckout

We are beginning to roll out a fix for a bug in the Storefront GraphQL API where createCheckout could select a shipping option that wasn’t in the consignment’s availableShippingOptions. You may notice this take effect over the coming weeks.

  • Affected requests: createCheckout mutations that set selectRecommendedOption: true or shippingOptionSelectionStrategy on a shipping consignment, for stores whose shipping rates depend on the cart’s discounts, order total, or product dimensions. This includes carrier-calculated rates.
  • Selected option is one of the available options: the shipping option is selected using the same prices, discounts, and product dimensions as the returned availableShippingOptions, so selectedShippingOption matches one of them and the consignment’s shippingCost matches that option’s price.
  • No request changes: you don’t need to change your createCheckout requests.

For details, see the createCheckout mutation reference.