Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

CheckoutAddressValidationRules Input Type

input CheckoutAddressValidationRules {
  checkRequiredFields: Boolean = true
  checkFieldsFormat: Boolean = true
  enableFieldsNormalization: Boolean = true
}

Fields

checkRequiredFields

checkRequiredFields · Boolean

Determines if an error should be raised when the provided address doesn’t have all the required fields. The list of required fields is dynamic and depends on the country code (use the addressValidationRules query to fetch them). Note: country code is mandatory for all addresses regardless of the rules provided in this input.

Default: true.

checkFieldsFormat

checkFieldsFormat · Boolean

Determines if an error should be raised when the provided address doesn’t match the expected format. Example: using letters for postal code when the numbers are expected.

Default: true.

enableFieldsNormalization

enableFieldsNormalization · Boolean

Determines if Saleor should apply normalization on address fields. Example: converting city field to uppercase letters.

Default: true.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?