# Exact Postal Code Matching

## Exact Postal Code Matching Method

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

{% hint style="success" %}
This approach should be used if your delivery area is limited to **a few postal/zip codes**. In case you deliver to a large number of eligible postal codes, our [Partial matching method](https://docs.dingdoong.io/local-delivery/delivery-validator/broken-reference) may be a better option
{% endhint %}

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

You will need to **enter at least a valid exact postal code** to enable delivery zone&#x20;

<figure><img src="https://825397875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdt3xbyFDcRxJKS1ZARtZ%2Fuploads%2FGnkoqsNM3YX6CA5EJUiq%2Fimage.png?alt=media&#x26;token=c19fea36-d07c-4443-8334-4781ddb2499b" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://825397875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdt3xbyFDcRxJKS1ZARtZ%2Fuploads%2FPkFIfKxuMIpJPmo6oexw%2Fimage.png?alt=media&#x26;token=149c99b9-0cb7-42fd-aabd-35e95fc9d299" alt=""><figcaption></figcaption></figure>

If the postal code exactly matches one of the postal codes/zip codes that you define in your delivery conditions setting, the customer will be able to proceed

<figure><img src="https://825397875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdt3xbyFDcRxJKS1ZARtZ%2Fuploads%2FhbwaMucJtKgzGHzcnKPO%2Fimage.png?alt=media&#x26;token=932c9b97-3392-4068-ab92-159e38f96583" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://825397875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdt3xbyFDcRxJKS1ZARtZ%2Fuploads%2FvXuEMvexS9WrUvmNFHdV%2Fimage.png?alt=media&#x26;token=9eb4821f-4ddf-4f96-9680-abe6d3017e2b" alt=""><figcaption></figcaption></figure>

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

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

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

<figure><img src="https://825397875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdt3xbyFDcRxJKS1ZARtZ%2Fuploads%2FI3GvFhERqYG5cToRACz9%2Fimage.png?alt=media&#x26;token=d13519ed-384a-48fc-b710-be2009cd53cb" alt=""><figcaption></figcaption></figure>

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

* You can add postal codes **one by one or in bulk**, but remember to <mark style="color:green;">**separate each postal code with a comma**</mark> so that the zone can be defined and local delivery will work.
* &#x20;If you have a large number of postal codes, please **contact our support team** for immediate assistance.


---

# 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/exact-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.
