> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/patchworks-connectors/shopify-prebuilt-connector.md).

# Shopify (prebuilt connector)

## Description

[Shopify](https://www.shopify.com/) is a cloud-based, fully hosted commerce platform which can be used to create and manage online stores and sell across multiple channels (including web, mobile, social media, online marketplaces, brick-and-mortar locations, and pop-up shops).

A Patchworks app is available in the [Shopify marketplace](https://apps.shopify.com/patchworks). When you [install this app](#installing-the-shopify-app-recommended), you add a Patchworks connector with an authenticated instance, instantly.

{% hint style="info" %}
Alternatively, you can use [custom apps](/product-documentation/connectors-and-instances/patchworks-connectors/shopify-prebuilt-connector/shopify-custom-app.md)
{% endhint %}

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FXhtbIQ5q9IQ5iOsYIkLc%2Fshopify%20app%20install%201.png?alt=media&amp;token=8ad5fec9-df7b-4c3e-a215-9893a4567626" alt=""><figcaption></figcaption></figure>

## API documentation

API documentation for Shopify (used to build this connector) can be found via the link below:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>GraphQL</strong></td><td><a href="https://shopify.dev/docs/api/admin-graphql">https://shopify.dev/docs/api/admin-graphql</a></td><td></td><td></td></tr><tr><td><strong>REST (deprecated)</strong></td><td><a href="https://shopify.dev/docs/api/admin-rest">https://shopify.dev/docs/api/admin-rest</a></td><td></td><td><a href="https://shopify.dev/docs/api/admin-rest">https://shopify.dev/docs/api/admin-rest</a></td></tr></tbody></table>

{% hint style="info" %}
If you've been using the Shopify connector with REST API endpoints (either [installed via our Shopify app](#installing-the-shopify-app-recommended) or the [Patchworks marketplace](/product-documentation/connectors-and-instances/working-with-connectors/installing-a-connector.md)), we advise [updating the connector from the Patchworks marketplace](/product-documentation/connectors-and-instances/working-with-connectors/updating-a-connector.md), so GraphQL endpoints are available.

Having updated the Shopify connector, you should then **edit process flows where the Shopify connector is used and switch any REST API endpoints to a GraphQL equivalent.** If you can't find a GraphQL endpoint that you need, you can [add your own](/product-documentation/connectors-and-instances/patchworks-connectors/shopify-prebuilt-connector/adding-a-custom-graphql-endpoint-for-shopify.md).
{% endhint %}

## Tax handling for sales channels

{% hint style="warning" %}
Are you integrating Shopify with accounting, ERP, or other business systems where sales tax is considered? If so, please read the following.
{% endhint %}

When selling products across different sales channels (online store, social media, marketplace platforms, etc.) and building integrations to accounting, ERP, or other business systems where sales tax is considered, it's important to know where the responsibility for remitting sales tax lies - is it with the merchant, or is it handled via the sales channel?

For example, since January 2025, Shopify automatically calculates, collects, and remits tax for orders placed through the *Shop* channel in the US. If these orders are treated the same as 'normal' Shopify orders in your integrations, there’s a risk of processing tax twice

### What you need to do

In this scenario, check whether the Shopify sales channel is set as being responsible for tax. You can do this via the Shopify admin portal, or via the API.

If using the API, Shopify provides a field called [`channel_liable`](https://shopify.dev/docs/api/admin-graphql/2025-10/objects/TaxLine#field-taxline-channelliable). If this is set to `true`, it means tax\
has already been calculated and collected by the channel. In this case, your integration should not recalculate or reapply tax.

## Installing the Shopify app

You must have a Patchworks account to install the app. If you don't have an existing account, you can [register for a trial account](https://app.wearepatchworks.com/register) or [contact our Sales team](https://www.wearepatchworks.com/pages/contact-us).

{% hint style="warning" %}
If Multi-factor authentication is enabled for your Patchworks account, it must be disabled (temporarily) before completing the steps below. Please see [Disabling 2FA for your Patchworks login](/product-documentation/registration/two-factor-authentication-2fa.md#disabling-2fa-for-your-patchworks-login) if you're unsure how to do this.
{% endhint %}

{% stepper %}
{% step %}
**Locate the Patchworks app in Shopify**

Log in to your Shopify admin portal and search for the *Patchworks* app:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fc3ho4mvjiXxJEZg6spRB%2Fshopify%20app%20install%201a.png?alt=media&amp;token=f05f6f88-652b-4f66-8f24-6e59c63c9fa9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Review access requirements**

Review access requirements and click the *install* button:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fwx02GxkSojrJOzN0gVbo%2Fshopify%20app%20install%202b.png?alt=media&amp;token=001e421e-2c24-48dc-9e7f-c7f2c5e67746" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Provide your Patchworks account credentials**

Click the `sign-in` button:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FjbAlB9ORoLQjTCgPqfp7%2Fshopify%20app%20install%205.png?alt=media&amp;token=7022e92e-736e-44f0-becc-16e031e52431" alt=""><figcaption></figcaption></figure>

This will open the Patchworks Dashboard, enter your credentials to sign in to the Patchworks dashboard:

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FFawWjghRHToWHI7gBE5t%2Funknown.png?alt=media&amp;token=fc3d7292-3068-4348-a79b-24ced011bff8" alt="" height="473" width="602">
{% endstep %}

{% step %}
**Installation the Shopify Connector**

In the Patchworks dashboard head to the Marketplace and install the latest Shopify connector:

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FIktPzyS7OZaVHcZhjLcr%2Funknown.png?alt=media&amp;token=f9a9d7e8-acb2-4ca3-841b-7b68127704b1" alt="" height="393" width="602">

When installation is complete you will be redirected to the connectors & instances menu:

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F6vQOntuBsJ1ttTGkOnOB%2Funknown.png?alt=media&amp;token=ae5c7af8-6ea1-42ea-b03d-56440ce25a71" alt="" height="235" width="602">
{% endstep %}

{% step %}
**Click Add new Instance**

Enter an appropriate name for your instance, we recommend using your store name

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FLgnHAgnvUGslDusSlRN4%2Funknown.png?alt=media&amp;token=eaa7eeb7-6b55-4bf5-a75f-44a507cd2374" alt="" height="677" width="601">

Select the required settings for your connector, more information can be found [here](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/connection-pools#associating-connection-pools-with-connector-instances) on Connection Pools.

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FuXBWaXfrk1SbyP1Gkscw%2Funknown.png?alt=media&amp;token=df3432fa-a0ad-4045-93f7-23b57b6e2d0f" alt="" height="944" width="556">

Select the PATCHWORKS APP AUTHENTICATION, this is already setup with the required credentials needed to authenticate against shopify using the Patchworks Shopify App.

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FColUg1hOOhNyPRx2NOAv%2Funknown.png?alt=media&amp;token=f8dfa69b-65b2-4923-b672-3d8dbd97401a" alt="" height="902" width="580">

Enter your store name as found in the Shopify settings, E.G customer-peaks-1.\ <br>

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FqqcsEMt94TuAlTdJ45Me%2Funknown.png?alt=media&amp;token=15f741d4-0ced-4232-a02a-b0c48077cfb9" alt="" height="394" width="373">

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F2UFSzGSpBXdmRdbl0tEW%2Funknown.png?alt=media&amp;token=35da1ea7-5166-42d2-9636-a991b6f31da4" alt="" height="821" width="602">

When you click create the oauth2 process will be initiated, this will make a request to Shopify to get credentials, you must be logged into your Shopify store and have the same permissions that the app required.
{% endstep %}

{% step %}
**Connected - Once complete you will see a new instance within your connector.**

<img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FZdNbAz3Ix4Twkx3kfco9%2Funknown.png?alt=media&amp;token=c811f586-ee83-49aa-8bc8-6cdb0f35c66e" alt="" height="176" width="602">

{% endstep %}
{% endstepper %}
