# Asda Query Command (/asda)

This command is used to search any Asda store within the vicinity of your postcode for a desired product by using the product code or product barcode. Once the command is run it'll provide you with the stores that are stocked as well as the details of the stores.

## Usage <a href="#usage" id="usage"></a>

To use this command we start by finding a product we would like to track. For our example, we are using a 'Casio FX-85GTCW Scientific Calculator'. In this example, we will use the Asda Groceries website (<https://groceries.asda.com>) to locate the Product Code.

Once you have found the product on the Asda website, at the top of the website just below the title the product code will be present. In our example, this is 7618807.

<figure><img src="/files/5ulzMjicnEvDVNM00z8E" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/RibWhLxwbDKGPYuqjUFK" alt=""><figcaption><p>The Identifier for the Calculator found just below the product title.</p></figcaption></figure>

Since we have found the product code, we can now build our command. To fill in the parameters we need a postcode of the area we would like to search, and if we would like to make the post public. Once the Command is built we can run it to start the look-up progress.

<figure><img src="/files/RdfxwNGOGiZypnnV8CpZ" alt=""><figcaption><p>The asda command searching for product code 761880760 with public false </p></figcaption></figure>

<figure><img src="/files/c420C1nv3z0C5aESmtBC" alt=""><figcaption><p>Look-up Progress Example</p></figcaption></figure>

After the look-up is completed we will be given the stores in the surrounding area that have the product stocked as well as a link to the store details.

<figure><img src="/files/Rm6q3D3kwqngsk0eJLYK" alt=""><figcaption><p>Look-up completed Example</p></figcaption></figure>

The parameters of this command are below:

* Postcode - The area in which you would like to check and gain store details.
* Identifier - This is the product code or EAN/UPC/GTIN.
* Public - This defines whether your results will be posted for everyone to see, or just for yourself.


---

# 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.mercury-dynamics.co.uk/bot-commands/asda-query-command-asda.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.
