Skip to main content
Migrate to Polaris

Version 2025-07 is the last API version to support React-based UI components. Later versions use web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the migration guide to upgrade your extension.

Checkout Settings API

The Checkout Settings API provides the merchant's checkout configuration that was active when the buyer placed the order. Use it to check the order type, payment terms, or shipping address settings on the Order status page.

  • Detect order type: Determine whether the order is a standard order or a draft order, and adjust your extension's behavior accordingly.
  • Display payment terms: If B2B payment terms are configured, display the due date and terms name to the buyer.
  • Check shipping address editability: Determine whether the buyer was able to modify their shipping address during checkout.

The Checkout Settings API object provides the merchant's checkout settings. Access the following properties on the API object to read checkout configuration.

Anchor to checkoutSettings
checkoutSettings
StatefulRemoteSubscribable<>
required

The merchant's checkout configuration that was active when the buyer placed the order, including the order type, payment terms, and shipping address settings.


  • Check orderSubmission for order type: Use the orderSubmission property to determine if the order is a standard 'ORDER' or a 'DRAFT_ORDER' that requires merchant approval.
  • Handle optional payment terms: The paymentTermsTemplate is only present for B2B orders with deferred payment. Always check for undefined before displaying payment terms.

  • Checkout settings reflect the merchant's configuration at the time of checkout. If the merchant updates their checkout settings after the order is placed, the values returned by this API don't change.

Was this page helpful?