{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-checkouts-settings-request-schema.json",
  "title": "Checkouts settings request",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-checkout-settings-api-openapi.yml#/components/schemas/CheckoutsSettingsRequest",
  "type": "object",
  "properties": {
    "custom_checkout_script_url": {
      "type": "string",
      "description": "Custom checkout script URL to replace our default checkout. To reset a store to optimized one-page checkout, pass an empty string for `custom_checkout_script_url` and `custom_order_confirmation_script_url`."
    },
    "order_confirmation_use_custom_checkout_script": {
      "type": "boolean",
      "description": "When order_confirmation_use_custom_checkout_script=true, the default custom_order_confirmation_script_url defaults to an empty string."
    },
    "custom_order_confirmation_script_url": {
      "type": "string",
      "description": "Custom order confirmation script URL to replace the default order confirmation. To reset a store to optimized one-page checkout, pass an empty string for `custom_checkout_script_url` and `custom_order_confirmation_script_url`."
    },
    "custom_checkout_supports_uco_settings": {
      "type": "boolean",
      "description": "Boolean value that specifies whether this checkout supports Optimized One-Page Checkout settings."
    }
  }
}