Superdrug Query Command (/superdrug)

This section describes the /superdrug command

This command is used to search Superdrug stock information you will need three parameters within this command to start you will need the postcode of the area you wish to search. Then find the unique product identifier to specify your search and lastly set if the bot will post publicly or not. The default is false instead of true but in this example we use true.

Usage

Firstly we need to identify which product on the Superdrug site we would like to make a query about. In this example, we used Versace Eros Flame.

The most crucial part is to find the identifier for our product we would like to enquire about. We can find the Identifier in the URL of the product page or we can find it at the bottom of the page under Product Specification. In our case, the code is 777394 as seen at the end of the URL as well as the example product specification.

Now we can create our command line. We do this by using the parameters Postcode, Identifier and public.

Once we initiate our command you will be prompted with a "Look-up in progress" This will then return an error or the completed enquiry.

The results from the completed command will display which store in the area of the postcode is stocking said product. It will display the price within the store as well as linking you to store details.

The parameters of this command are below:

  • Postcode - The area in which you would like to check stock levels and gain store details.

  • Identifier - This is the Item code used for stock keeping at Superdrug

  • Public - This defines whether your results will be posted for everyone to see, or just for yourself.

Last updated