This option can be used regardless of your location. It's designed for countries where postcodes have letters followed by single and double digits (e.g. in the UK, SW2 and SW20), in order to differentiate between them.
To learn more about other delivery validation methods, take a look at our Delivery validation article.
Compare delivery validation methods
If you're not sure if this is the right method for your use case, compare the validation methods we offer.
For delivering to a relatively small area
For delivering to a wide area
For more complex delivery rules
For countries that don't use postal codes
Example zip codes
Eligible zip codes
London, london, Milton Keynes,
Any postcode that is not added to Zapiet - Pickup + Delivery
Any postcode that does not begin with 123 or SW1A
Any postcode that does not begin with 123, SW2 SW1A, has less or more digits than asterisks and is missing a space
Any city name that doesn't begin with LONDON or MILTONKEYN
How does UK postal code support work?
When you enable the partial postal code matching and UK postal code support, we will add a field to the Local delivery section of our widget.
You will need to enter eligible postal codes in the location settings.
Your customers will need to enter their postal code in our widget to check if they're eligible for delivery.
You can use an underscore to denote a space, and an asterisk to define boundaries.
SW2_ will match SW2 1AA, but not SW20 1AA.
SW2_*** will match SW2 1AA, but not SW2 1AAB (non-existent postcode).
When you use an underscore, your customers will need to enter a space between the first part of their postcode and the second.
For example, if you add SW2_*** in the settings, check which example postal codes will be eligible for delivery:
Eligible for delivery
Enable UK postal code support
In Zapiet - Pickup + Delivery, click Settings.
Click Local delivery.
In the Distance validation section, select Partial postal code match.
Tick Enable UK postal code support.
Your delivery validation settings are set, now you need to add eligible postcodes to every location that offers delivery.
Add postal codes to a location
In this example, we will enable delivery for SW2 postal codes, but not SW20.
In Zapiet - Pickup + Delivery, click Locations.
Click the name of the location you want to edit.
In the Local delivery section, click Edit settings.
In the Distance validation field, enter your partial eligible postal codes. Separate them with a comma.
Please note that we don't support overlapping postal codes—each of your locations needs to have a unique set of postal codes.
Repeat for all the locations that offer local delivery, but make sure that every location has a unique set of postcodes.
Change the wording in the widget
You can change the wording in the widget to show a sample postal code, if needed.
In Zapiet - Pickup + Delivery, click Settings, then click Text and Design.
In Text and design section, click Show next to Delivery widget.
Edit the text of Search field placeholder to include a sample postal code.
Changes will be immediately applied to the widget.