GitHub

ShopifyDeliveryAddressValidationStrategy

enum

import { ShopifyDeliveryAddressValidationStrategy } from '@daffodil/driver/shopify'

Defines the types of available validation strategies for delivery addresses.

Properties

CountryCodeOnly
ShopifyDeliveryAddressValidationStrategy.CountryCodeOnly

Only the country code is validated.

Strict
ShopifyDeliveryAddressValidationStrategy.Strict

Strict validation is performed, i.e. all fields in the address are validated according to Shopify's checkout rules. If the address fails validation, the cart will not be updated.