# Finding a resource ID

To find an ID for a resource in a Shopify store, start by opening the Shopify admin area. Then, navigate to the specific resource whose ID is needed. Lastly, look at the browser's address bar: the ID is the number at the very end.

![](/files/LnAslImqhnTgV1XmITUA)

This applies for most resources in Shopify, whether it's an order, location, product, variant, etc. For example, when looking at an order, the URL will look something like this:

```
https://admin.shopify.com/store/example/orders/1234567890
```

And in this example, the ID is still the number at the very end.


---

# 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://learn.mechanic.dev/techniques/finding-a-resource-id.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.
