# Shopify

This Integration requires Fides Cloud or Fides Enterprise. For more information, [talk to our solutions team. (opens in a new tab)](/content/speak-with-us?utm_source=docs-site/index.html)

[Shopify (opens in a new tab)](https://www.shopify.com/) is an e-commerce platform that allows businesses to create and manage their online stores.

## Prerequisites [Permalink for this section](/content/docs/integrations/saas-integrations/shopify#prerequisites/index.html)

In order to [integrate](/content/docs/integrations/index.html) with Shopify, you'll need to collect the following information:

| Name            | Description                                                                                         |
|-----------------|-----------------------------------------------------------------------------------------------------|
| **Domain**\*    | Your Shopify API Domain. The URL for accessing your store API is built with the following format: **store_name**.myshopify.com |
| **Access token**\* | Your Access Token. Follow Shopify's docs to [setup a custom app and get your access token (opens in a new tab)](https://help.shopify.com/en/manual/apps/app-types/custom-apps). |

In case you have changed the domain and can't find the store name easily, when logging to your admin page, the store name can be seen on the url like so [https://admin.shopify.com/store/{store_name} (opens in a new tab)](https://admin.shopify.com/store/%7Bstore_name%7D)

Your Shopify access token will need the following permissions: `read_customers`, `read_orders`, `read_content`, `read_inventory`, `read_online_store_pages`, `write_online_store_pages`, `write_customer_data_erasure`, `read_customer_data_erasure`.

## Integrating with Shopify [Permalink for this section](/content/docs/integrations/saas-integrations/shopify#integrating-with-shopify/index.html)

To integrate an existing system with Shopify:

1. Navigate to **Data map** → **View Systems** and choose the system that you want to connect.
2. Click on the **Integrations** tab.
3. Pick the vendor or system type that you want to integrate with from the **Connection type** drop-down menu.
4. Complete the required fields for the integration and click **Save**.

You may confirm your connection is working using the **Test connection** button, if desired.

To learn more, please see our guide for [Managing Integrations](/content/docs/integrations/guides/manage-integrations/index.html).

## Technical detail [Permalink for this section](/content/docs/integrations/saas-integrations/shopify#technical-detail/index.html)

Fides utilizes _API endpoints_ to access the _API service_ for a SaaS application. An _API service_ is the programmatic interface through which Fides can query and update data within an application to access, rectify, or delete personal information. Each SaaS tool will have a unique set of endpoints to enable privacy functions.

### Shopify endpoints [Permalink for this section](/content/docs/integrations/saas-integrations/shopify#shopify-endpoints/index.html)

In the table below, you can find which endpoints are used for each type of privacy function. Clicking on the endpoint will take you to the documentation for that endpoint.

| Privacy function                | Endpoint                                              | Description                                                        |
|----------------------------------|------------------------------------------------------|--------------------------------------------------------------------|
| **Access Requests**              | [Customers (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/customers)  | Returns information about a customer                                |
| **Update or Erasure Requests**  | [Customers (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerRequestDataErasure) | Used to create a delete request of the associated customer data     |
| **Access Requests**              | [Customer Orders (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/orders) | Returns a customer's orders                                         |
| **Access Requests**              | [Customer Addresses (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/customer) | Returns addresses associated with a customer                        |
| **Access Requests**              | [Blog Article Comments (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/comments)  | Returns blog comments authored by the email identity                |
| **Update or Erasure Requests**  | [Blog Article Comments (opens in a new tab)](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/commentDelete) | Used to erase blog comments authored by the email identity          |
