> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# orderLookup

> Fetch the store's Shopify order-lookup embed. Returns null until one has been created.

**Required scopes:** [`tracking_pages_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-tracking_pages_read)

**Store must have one of:** `ORDER_TRACKING`

## Returns

**orderLookup** `[OrderLookup](/docs/api-reference/v3/reference/marketing/order-lookup)`

The store's embedded Shopify order-lookup form configuration.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the order lookup embed was created.

**id** `ID!` *required*

The id of this order lookup embed.

**legacyId** `String!` *required*

Mongo ObjectId from the merchant app.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the order lookup embed was last updated.

## Example

```graphql theme={null}
query {
  orderLookup {
    createdAt
    id
    legacyId
    updatedAt
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.