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

# Shopify

> Track orders, revenue, customers, and inventory from your Shopify store.

Track revenue trends, order volume, customer growth, and inventory levels over time.

<Info>
  **Category:** Commerce · **Auth:** Admin API access token · **Metrics:** 16
</Info>

## Prerequisites

1. **Store domain** — Your `*.myshopify.com` domain (e.g., `mystore.myshopify.com`).
2. **Admin API access token** — Create a [custom app](https://help.shopify.com/en/manual/apps/app-types/custom-apps) in your Shopify admin with read access to orders, products, customers, and inventory.

## Configuration

<Tabs>
  <Tab title="Cloud">
    Go to **Settings → Integrations → Shopify** and enter your store domain and access token.
  </Tab>

  <Tab title="CLI">
    ```toml theme={null}
    [[plugins]]
    name = "shopify"
    entity = "all"
    config.store = "mystore.myshopify.com"
    config.access_token = "${SHOPIFY_ACCESS_TOKEN}"
    ```
  </Tab>
</Tabs>

## Entities

Pull everything with `all`, or pick specific categories:

| Entity       | Description                         |
| ------------ | ----------------------------------- |
| `orders`     | Order and revenue metrics           |
| `products`   | Product catalog metrics             |
| `customers`  | Customer metrics                    |
| `operations` | Fulfillment, refunds, and inventory |
| `all`        | All of the above                    |

## Metrics

### Orders (6)

| Metric                | Description                  |
| --------------------- | ---------------------------- |
| `orders_total`        | Total order count (all time) |
| `orders_today`        | Orders placed today          |
| `orders_30d`          | Orders in last 30 days       |
| `revenue_today`       | Revenue today                |
| `revenue_30d`         | Revenue in last 30 days      |
| `average_order_value` | Average order value (30d)    |

### Products (2)

| Metric            | Description          |
| ----------------- | -------------------- |
| `products_total`  | Total product count  |
| `products_active` | Active product count |

### Customers (2)

| Metric            | Description                   |
| ----------------- | ----------------------------- |
| `customers_total` | Total customer count          |
| `customers_30d`   | New customers in last 30 days |

### Operations (6)

| Metric                | Description                       |
| --------------------- | --------------------------------- |
| `unfulfilled_orders`  | Unfulfilled order count           |
| `refunds_30d`         | Refund count in last 30 days      |
| `refund_amount_30d`   | Refund amount in last 30 days     |
| `abandoned_checkouts` | Abandoned checkout count          |
| `inventory_items`     | Total inventory item count        |
| `low_stock_count`     | Items with fewer than 10 in stock |
