# Argos Query Command (/argos)

This command allows you to query Argos Stocks and locations using stock-keeping units (SKUs). The command provides you with an array of data in regard to the product and store details.

## Usage

Firstly we need to build our command including parameters. Two parameters are easy enough they are your postcode for example SW1A 2AA and if we would like our results to be shared publicly or privately for this example I am choosing true for it to be public. The key part of our parameters is the product we would like information on to use the bot you will need to provide an SKU (Stock Keeping Unit).&#x20;

To find an SKU is simple you either go to the URL and look for digits after "product/" which you can then copy into the SKU parameter.

<figure><img src="/files/KYM4UrYzV2dvEMeHXpsz" alt="Argos URL of our desired product"><figcaption><p>Argos URL of our desired product</p></figcaption></figure>

You can also go to the listing in-store or on the site and near the name of the product will be a numeric value with a forward slash (/) in it in my example 112/8716. If we remove the forward slash we now have a complete SKU (1128716)

<figure><img src="/files/NYdGElGOTh45qAykMzZ1" alt="Argos Product Example"><figcaption><p>Argos Product Example</p></figcaption></figure>

Once we have this product identifier (SKU) we can now structure our command properly as shown below. Please note you do not need to enter the forward slash into the SKU parameter.

<figure><img src="/files/reBYtgdyBCG7y3cO2K9a" alt="Example /argos command with parameters SW1A 2AA, 1128716 and True"><figcaption><p>Example /argos command with parameters SW1A 2AA, 1128716 and True</p></figcaption></figure>

When we enter this command the bot will start processing the search for the product in your area. If the bot fails to find any stock in your area or there is an issue with the search it will throw up a failed prompt with an error code and description.&#x20;

<figure><img src="/files/WnbQBVaKW0i7QWiIXpak" alt="Processing Search Example"><figcaption><p>Processing Search Example</p></figcaption></figure>

<figure><img src="/files/ocaORHMgTLwZm7BY5NDe" alt="Failed Search Example"><figcaption><p>Failed Search Example</p></figcaption></figure>

Since the product we are originally searching for is no longer in stock we will search for another product that is also of interest to us. For this example, we will use an Amazon Echo. Please note we need to change the SKU to the new product.

<figure><img src="/files/PrrOb1yCSyxhbiMcmyLL" alt="Amazon Echo, SKU 1245785"><figcaption><p>Amazon Echo, SKU 1245785</p></figcaption></figure>

We now establish our new command "/argos postcode: SW1A 2AA sku: 1245785 public: true" and run it. It'll go through the processing search and will then provide assuming the search has no faults a completed message with some details.

<figure><img src="/files/AEPFXeMGK2qRYwF4tNoM" alt=""><figcaption><p>Search Completed Example</p></figcaption></figure>

Shortly followed by another message saying how many stores have been listed and that there will be a CSV file you can download and import into a spreadsheet.

<figure><img src="/files/xj9IT3QeeUl8HuF0QmvL" alt="Example store listing"><figcaption><p>Example store listing</p></figcaption></figure>

<figure><img src="/files/iNBqA2zj2SP2e0x8VYZg" alt=""><figcaption><p>CSV example in Discord</p></figcaption></figure>

Once you download the CSV it will come formatted as shown here:

<figure><img src="/files/uOACP6Ev4cnpPPX6B0qi" alt=""><figcaption><p>Exported CSV</p></figcaption></figure>

The three parameters of this command are below:

* Postcode - This is the postcode of your area to gain accurate stock levels in surrounding stores.
* SKU - This is the stock-keeping unit of the product you wish to search for at Argos.
* 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/argos-query-command-argos.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.
