June 20, 2024

API Updates for June 20, 2024

Themes

  • We are happy to announce the newly released storefront selector feature in Stencil themes. Shoppers can now choose which storefront they want to browse when they visit your storefront.

GraphQL

  • The Storefront GraphQL API now includes a statusMessage field under the Settings schema type. You can now have a customer-facing message associated with the current storefront status.

Bug Fixes

  • Clarified the need for Stencil CLI, a local session, and a CSRF token to perform Checkout Storefront API requests.

  • Defined the namespace for the GraphQL Create Cart Metafield mutation to alleviate confusion for merchants and developers. Thank you, @harnerdesigns.

  • Removed restrictions for scripts on All Pages.

  • Removed brand_name from the response body in the REST Management Catalog-Products API.