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

# Shopify

> Ecommerce platform for online stores

> [tab] Overview
>
> Ecommerce platform for online stores. Website: [shopify.com](https://shopify.com).
>
> **Connect**
>
> You connect Shopify with your **Shop Domain**, **API Key** and **API Secret**. Steps: [Connect a data source](https://docs.oviond.com/data-sources/connect.md).
>
> **Data views**
>
> A widget reads one data view: you pick it first, then its metrics and dimensions. Shopify has 1 data view:
>
> | Data view | ID | Metrics | Dimensions |
> | - | - | - | - |
> | Sales | `SALES` | 221 | 228 |
>
> Every metric and dimension, with its ID, format and summary, is in the **Metrics & dimensions** tab.

> [tab] How it works
>
> **1. Connect Shopify**
>
> In the client's **Data sources**, open **Shopify**, name the connection and enter your **Shop Domain**, **API Key** and **API Secret**.
>
> **2. Use it in widgets**
>
> Add a data widget, pick **Shopify**, then a data view, metrics and dimensions. One connection can be linked to many clients.
>
> **How the data arrives**
>
> Oviond asks Shopify for the numbers when a widget is added or changed, when you click **Refresh**, and on the report's automatic refresh. Nothing is copied ahead of time. PDFs print the data saved in the report.
>
> **When the connection stops working**
>
> If the details stop working (for example a key is deleted), the connection shows **Needs attention**. Click **Edit connection details**, enter them again and click **Save and test**. Fixing it fixes every client that uses it. See [Test Connection](https://docs.oviond.com/data-sources/test.md).

> [tab] Limitations
>
> **Limits in Oviond**
>
> Each field's own rules are in the **Metrics & dimensions** tab.
>
> * **Not offered to accounts billed through the Shopify App Store.**
> * **Some metrics and dimensions can't be used together.** The widget editor only offers the ones that work together.
> * **Some data views have advanced settings.** Under **Show Advanced Settings** in the widget's data settings you can change more options. Some settings take one choice, some take several.
> * **Deprecated fields are tagged.** Fields Shopify no longer supports are marked **Deprecated** in the **Metrics & dimensions** tab and noted in the changelog. A widget that uses one may show an error or no data.
>
> **Limits set by Shopify**
>
> If you connect with an **API Key** and **API Secret** (an app made in your Shopify Dev Dashboard), these apply. A store connected by installing Oviond from the Shopify App Store doesn't need them.
>
> * **The app must belong to the store's organization.** Shopify only gives a sign-in for an API Key and API Secret to an app made in the same organization that owns the store, and installed on it. So an agency can't use its own app on a client's store: the app must be made in the client's organization, or the client installs Oviond from the Shopify App Store.
> * **The app needs report access.** Shopify's reports need the app to have the `read_reports` access scope and access to protected customer data (Level 2: name, address, phone and email). Without them, widgets show an error. A scope added later needs a new app version, approved on the store.
> * **Removing the app stops the connection.** If the app is uninstalled or its secret changes, the connection stops working.
>
> Shopify's pages: [ShopifyQL query](https://shopify.dev/docs/api/admin-graphql/latest/queries/shopifyqlQuery), [client credentials](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/client-credentials-grant).

> [tab] Metrics & dimensions
>
> **Format** is how a value is written. **Summary** is how one number for the whole date range is worked out.


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