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.
Anchor to Use casesUse cases
- 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.
Supported targets
- customer-account.
order-status. announcement. render - customer-account.
order-status. block. render - customer-account.
order-status. cart-line-item. render-after - customer-account.
order-status. cart-line-list. render-after - customer-account.
order-status. customer-information. render-after - customer-account.
order-status. fulfillment-details. render-after - customer-account.
order-status. payment-details. render-after - customer-account.
order-status. return-details. render-after - customer-account.
order-status. unfulfilled-items. render-after - customer-account.
order. page. render
Supported targets
- customer-account.
order-status. announcement. render - customer-account.
order-status. block. render - customer-account.
order-status. cart-line-item. render-after - customer-account.
order-status. cart-line-list. render-after - customer-account.
order-status. customer-information. render-after - customer-account.
order-status. fulfillment-details. render-after - customer-account.
order-status. payment-details. render-after - customer-account.
order-status. return-details. render-after - customer-account.
order-status. unfulfilled-items. render-after - customer-account.
order. page. render
Anchor to PropertiesProperties
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 checkoutSettingscheckoutSettingscheckoutSettingsStatefulRemoteSubscribable<CheckoutSettings>StatefulRemoteSubscribable<CheckoutSettings>requiredrequired
The merchant's checkout configuration that was active when the buyer placed the order, including the order type, payment terms, and shipping address settings.
CheckoutSettings
The merchant's checkout configuration that was active when the buyer placed the order.
- orderSubmission
The type of order created when the buyer completes checkout: - `'DRAFT_ORDER'`: A draft order that requires merchant approval before processing. - `'ORDER'`: A standard order that’s processed immediately.
'DRAFT_ORDER' | 'ORDER' - paymentTermsTemplate
The merchant-configured payment terms for the order, such as net 30 or net 60 terms. Only present for B2B orders with deferred payment.
PaymentTermsTemplate - shippingAddress
Configuration for the shipping address behavior, including whether the buyer can edit it.
ShippingAddressSettings
PaymentTermsTemplate
A payment terms template that defines when payment is due for the order, commonly used in B2B transactions.
- dueDate
The due date for net payment terms as an ISO 8601 formatted string (`YYYY-MM-DDTHH:mm:ss.sssZ`).
string - dueInDays
The number of days between the order date and the payment due date for net payment terms.
number - id
A globally-unique identifier for the payment terms template.
string - name
The name of the payment terms translated to the buyer's current language.
string
ShippingAddressSettings
Configuration for the shipping address on the checkout.
- isEditable
Whether the buyer was allowed to edit the shipping address during checkout.
boolean
Anchor to Best practicesBest practices
- Check
orderSubmissionfor order type: Use theorderSubmissionproperty to determine if the order is a standard'ORDER'or a'DRAFT_ORDER'that requires merchant approval. - Handle optional payment terms: The
paymentTermsTemplateis only present for B2B orders with deferred payment. Always check forundefinedbefore displaying payment terms.
Anchor to LimitationsLimitations
- 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.