Skip to main content
All CollectionsLocal Delivery
Delivery validation: Partial postal code matching
Delivery validation: Partial postal code matching
Jelizaveta avatar
Written by Jelizaveta
Updated over a month ago

With our delivery validation feature, you can check if the customer is eligible for delivery. Depending on the postcode entered in the widget, a matching delivery location will be selected.

Partial postal code matching checks the postal/zip code that your customers entered in the widget. That postal code will need to match one of the partial postal codes you entered in your location settings.

Use this method if you have a long list of postal codes you deliver to.

Please note that we don't support overlapping postal codes—each of your locations needs to have a unique set of postal codes.

To learn more about other delivery validation methods, take a look at our Delivery validation article.

To set up delivery validation, follow the written steps or the video instructions. The video includes all delivery validation methods - for partial matching, skip to 02:53.


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.

Recommended use

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

12345,

SW1A 1AA

123,

SW1A

123*,

SW1A_***

LONDON, MILTONKEYNS

Eligible zip codes

12345,

SW1A 1AA

12345,

1230,

SW1A 1AA

1234,

SW1A 1AA,

SW1A 6TH

London, london, Milton Keynes, miltonkeynes

Non-eligible postcodes

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 or SW1A, has less or more digits than asterisks and is missing a space

Any city name that doesn't begin with LONDON or MILTONKEYNS


How does partial postal code matching work?

  1. When you enable the partial postal code matching, we will add a field to the Local delivery section of our widget.

  2. You will need to enter eligible postal codes in the location settings.

  3. Your customers will need to enter their postal code in our widget to check if they're eligible for delivery.

    • If the postal code is eligible, they will be able to proceed.

    • If the postal code is not eligible, they will get an error and not be able to proceed further.


Examples of partial postal codes

Partial matching is used when you deliver to a lot of postal codes—you can then make them all available with just a few entries within a location.

You can enter any set of numbers/letters within your location's settings.

The postal code entered in the widget will be eligible if it starts with the value you've entered in the location settings.

Value in location settings

Eligible postcodes

902

90210, 90211, 90212, 902 AAA

1

11, 100, 123456, 1A28

SW1

SW1 AAA, SW10 AAA, SW11KGH, SW12

In the last example, if you'd like to deliver to SW1, but not to SW10, we recommend enabling our Advanced postal code match.

If your country doesn't use postal codes, you can use our postal code matching method to serve as a city name/district matching method. Take a look at our Delivery validation by city name article for more information.


Enable partial postal code matching

  1. Click Settings, then Local Delivery.

  2. In the Distance validation section, select Partial postal code match.

  3. Click Save.

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

  1. Click Locations.

  2. Click the name of the location you want to edit.

  3. In the Local delivery section, click Edit settings.

  4. 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.

  5. Click Save.

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

  1. Click Settings, then click Text and Design.

  2. In Text and design section, click Show next to Delivery widget.

  3. Change the wording according to your business needs. You can edit:

    • Search field placeholder

    • Instructional text (optional)

    • User has not selected a location, date or time (if required)

  4. Click Save.

Changes will be immediately applied to the widget.

Did this answer your question?