# Partial Postal Code Matching

## Partial Postal Code Matching Method

Partial postal code matching method checks if the customer's location is eligible for delivery by checking partly the postal code/zip code that he put in the widget

{% hint style="success" %}
This approach should be used if you deliver to **a large number of eligible postal codes**.

It saves you a lot of time since instead of inputting exactly each postal code one by one, you only enter some of the characters that must be matched and use an underscore "\_" to denote the rest of the postal/zip codes.
{% endhint %}

## How Does The Partial Postal Code Matching Method Work?

You will need to **enter at least a valid partial postal code** in the delivery conditions setting

<figure><img src="/files/92gtniiEFJS1yniHQh7T" alt=""><figcaption></figcaption></figure>

<mark style="background-color:purple;">\*Note:</mark>&#x20;

The partial postal code matching method is not counteractive to the exact postal code one since its sole goal is to save merchants time by eliminating the need to manually enter different zip codes. Hence, you can use the method in order to check the exactly valid postal codes as well.&#x20;

Your customers will need to enter their postal/zip codes in the widget to check if delivery is available

<figure><img src="/files/7lZiGV6Prd38anEYtVFn" alt=""><figcaption></figcaption></figure>

If the postal code that the customer input matches one of the partial postal codes that you set in your delivery conditions setting, the customer will be able to proceed

**Example:**

&#x20;You set the valid partial postal code to 94\_. Some valid postal codes is **94**502, **94**XJK, **94** 7TV,...

&#x20;You set the valid partial postal code to \_76. Some valid postal codes is 502**76**, XJK**76**,  7TV **76**,...

<figure><img src="/files/x1YOUMG2eOqi0gwP1dof" alt=""><figcaption></figcaption></figure>

If the postal code does not match any part of the partial postal code/zip code that you set on your back end, the consumer will be unable to proceed further

<figure><img src="/files/xPXKWvG7S0rHxnubTgtf" alt=""><figcaption></figcaption></figure>

## How To Enable The Partial Postal Code Matching Method?

Step 1: At the **Delivery zone** section, tick to choose **Partial postal code match**

Step 2: **Fill in the blanks** with valid postal codes. Click the **Add button** to insert them

<figure><img src="/files/vm9QhSrxcWQ66hv2q9xP" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Reach out to us via the email [**contact@omegatheme.com**](mailto:contact@omegatheme.com) if you stumble upon something hard to solv&#x65;**.** Any messages from you are greatly appreciated!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dingdoong.io/local-delivery/delivery-validator/partial-postal-code-matching.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
