> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify (OAuth)

> Integrate your application with the Shopify API

## 🚀 Quickstart

Connect to Shopify with Nango and see data flow in 2 minutes.

<Steps>
  <Step title="Create an integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Shopify*.
  </Step>

  <Step title="Authorize Shopify">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to Shopify. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Shopify API">
    Let's make your first request to the Shopify API (fetch a list of customers). Replace the placeholders below with your [secret key](https://app.nango.dev/dev/environment-settings), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/admin/api/2025-01/customers.json?limit=10" \
          -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });

        const res = await nango.get({
            endpoint: '/admin/api/2025-01/customers.json',
            params: {
              limit: 10
            },
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(JSON.stringify(res.data, null, 2));
        ```
      </Tab>
    </Tabs>

    Or fetch credentials dynamically via the [Node SDK](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/get).

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app">
    Follow our [Auth implementation guide](/guides/primitives/auth) to integrate Nango in your app.

    To obtain your own production credentials, follow the setup guide linked below.
  </Step>
</Steps>

## 📚 Shopify Integration Guides

Nango maintained guides for common use cases.

* [How to register your own Shopify OAuth app](/api-integrations/shopify/how-to-register-your-own-shopify-api-oauth-app)\
  Register an OAuth app with Shopify and obtain credentials to connect it to Nango

* [How do I link my Shopify account?](/api-integrations/shopify/connect)\
  Learn how to authenticate with Shopify and link your account

Official docs: [Shopify API documentation](https://shopify.dev/docs/api/admin)

<Note>Shopify recently introduced expiring offline access tokens (December 2025) — unlike non-expiring tokens, these include a refresh token and rotate every hour. To migrate to expiring offline tokens or to generate a fresh set of tokens, users need to [re-authenticate their connection](/guides/primitives/auth#re-authorize-an-existing-connection).</Note>

## 🧩 Pre-built syncs & actions for Shopify

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

| Function name                             | Description                                                                  | Type                                           | Source code                                                                                                                                     |
| ----------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `accept-fulfillment-request`              | Accept a fulfillment request for a Shopify fulfillment order.                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/accept-fulfillment-request.ts)              |
| `activate-automatic-discount`             | Activate an automatic Shopify discount.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/activate-automatic-discount.ts)             |
| `activate-discount-code`                  | Activate a code-based Shopify discount                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/activate-discount-code.ts)                  |
| `activate-inventory-item-at-location`     | Activate tracking for a Shopify inventory item at a location.                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/activate-inventory-item-at-location.ts)     |
| `adjust-inventory-quantities`             | Adjust inventory quantities for tracked items.                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/adjust-inventory-quantities.ts)             |
| `approve-return`                          | Approve a return request on a Shopify order.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/approve-return.ts)                          |
| `cancel-fulfillment-request`              | Cancel a pending fulfillment request on a Shopify fulfillment order.         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/cancel-fulfillment-request.ts)              |
| `cancel-fulfillment`                      | Cancel a Shopify fulfillment                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/cancel-fulfillment.ts)                      |
| `cancel-order`                            | Cancel a Shopify order.                                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/cancel-order.ts)                            |
| `cancel-return`                           | Cancel a return on a Shopify order.                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/cancel-return.ts)                           |
| `close-order`                             | Close a Shopify order to prevent further changes.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/close-order.ts)                             |
| `close-return`                            | Close a return on a Shopify order.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/close-return.ts)                            |
| `complete-draft-order`                    | Complete a Shopify draft order and convert it into an order.                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/complete-draft-order.ts)                    |
| `create-automatic-discount-bxgy`          | Create an automatic buy X get Y Shopify discount.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-automatic-discount-bxgy.ts)          |
| `create-automatic-discount-free-shipping` | Create an automatic free shipping Shopify discount.                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-automatic-discount-free-shipping.ts) |
| `create-automatic-discount`               | Create an automatic basic Shopify discount.                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-automatic-discount.ts)               |
| `create-collection`                       | Create a Shopify collection.                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-collection.ts)                       |
| `create-company`                          | Create a B2B company in Shopify.                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-company.ts)                          |
| `create-customer`                         | Create a Shopify customer record.                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-customer.ts)                         |
| `create-discount-code-basic`              | Create a basic code discount in Shopify.                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-discount-code-basic.ts)              |
| `create-discount-code-bxgy`               | Create a buy X get Y code discount in Shopify.                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-discount-code-bxgy.ts)               |
| `create-discount-code-free-shipping`      | Create a free shipping code discount in Shopify.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-discount-code-free-shipping.ts)      |
| `create-file`                             | Create a file resource in Shopify after staging an upload                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-file.ts)                             |
| `create-gift-card`                        | Create a Shopify gift card.                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-gift-card.ts)                        |
| `create-market`                           | Create a Shopify market for international selling.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-market.ts)                           |
| `create-metafield-definition`             | Create a Shopify metafield definition for a resource type.                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-metafield-definition.ts)             |
| `create-metaobject-definition`            | Create a Shopify metaobject definition.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-metaobject-definition.ts)            |
| `create-metaobject`                       | Create a Shopify metaobject entry.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-metaobject.ts)                       |
| `create-product-media`                    | Attach media to an existing Shopify product                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-product-media.ts)                    |
| `create-product-options`                  | Create one or more options on a Shopify product.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-product-options.ts)                  |
| `create-product-variants`                 | Create one or more variants for a Shopify product.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-product-variants.ts)                 |
| `create-product`                          | Create a Shopify product.                                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-product.ts)                          |
| `create-refund`                           | Create a refund for a Shopify order                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-refund.ts)                           |
| `create-return`                           | Create a return for a Shopify order.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-return.ts)                           |
| `create-staged-upload`                    | Request staged upload targets before uploading files to Shopify.             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-staged-upload.ts)                    |
| `create-url-redirect`                     | Create a URL redirect in a Shopify store.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-url-redirect.ts)                     |
| `create-webhook-subscription`             | Create a webhook subscription in Shopify.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/create-webhook-subscription.ts)             |
| `deactivate-automatic-discount`           | Deactivate an automatic Shopify discount.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/deactivate-automatic-discount.ts)           |
| `deactivate-discount-code`                | Deactivate a code-based Shopify discount.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/deactivate-discount-code.ts)                |
| `deactivate-inventory-item-at-location`   | Deactivate tracking for a Shopify inventory item at a location.              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/deactivate-inventory-item-at-location.ts)   |
| `decline-return`                          | Decline a return request on a Shopify order.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/decline-return.ts)                          |
| `delete-automatic-discount`               | Delete an automatic Shopify discount.                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-automatic-discount.ts)               |
| `delete-collection`                       | Delete a Shopify collection by GraphQL ID.                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-collection.ts)                       |
| `delete-customer`                         | Delete a Shopify customer record.                                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-customer.ts)                         |
| `delete-discount-code`                    | Delete a code-based Shopify discount.                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-discount-code.ts)                    |
| `delete-draft-order`                      | Delete a Shopify draft order.                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-draft-order.ts)                      |
| `delete-files`                            | Delete one or more Shopify file resources.                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-files.ts)                            |
| `delete-market`                           | Delete a Shopify market.                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-market.ts)                           |
| `delete-metafield-definition`             | Delete a Shopify metafield definition.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-metafield-definition.ts)             |
| `delete-metafields`                       | Delete Shopify metafields in one call.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-metafields.ts)                       |
| `delete-metaobject-definition`            | Delete a Shopify metaobject definition.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-metaobject-definition.ts)            |
| `delete-metaobject`                       | Delete a Shopify metaobject entry.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-metaobject.ts)                       |
| `delete-product-media`                    | Delete media from a Shopify product.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-product-media.ts)                    |
| `delete-product-options`                  | Delete one or more options from a Shopify product.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-product-options.ts)                  |
| `delete-product-variants`                 | Delete one or more variants from a Shopify product.                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-product-variants.ts)                 |
| `delete-product`                          | Delete a Shopify product by GraphQL ID.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-product.ts)                          |
| `delete-url-redirect`                     | Delete a URL redirect from a Shopify store.                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-url-redirect.ts)                     |
| `delete-webhook-subscription`             | Delete a Shopify webhook subscription.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/delete-webhook-subscription.ts)             |
| `disable-gift-card`                       | Disable a Shopify gift card.                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/disable-gift-card.ts)                       |
| `generate-customer-activation-url`        | Generate an account activation URL for a Shopify customer.                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/generate-customer-activation-url.ts)        |
| `get-collection`                          | Retrieve a Shopify collection by GraphQL ID.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-collection.ts)                          |
| `get-company`                             | Retrieve a Shopify B2B company by GraphQL ID.                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-company.ts)                             |
| `get-customer-segment`                    | Retrieve a Shopify customer segment by GraphQL ID.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-customer-segment.ts)                    |
| `get-discount`                            | Retrieve a Shopify discount node by GraphQL ID.                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-discount.ts)                            |
| `get-file`                                | Retrieve a Shopify file resource by GraphQL ID.                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-file.ts)                                |
| `get-inventory-item`                      | Retrieve a Shopify inventory item by GraphQL ID.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-inventory-item.ts)                      |
| `get-location`                            | Retrieve a Shopify location by GraphQL ID.                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-location.ts)                            |
| `get-market`                              | Retrieve a Shopify market by GraphQL ID.                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-market.ts)                              |
| `get-metaobject-by-handle`                | Retrieve a Shopify metaobject by type and handle.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-metaobject-by-handle.ts)                |
| `get-metaobject`                          | Retrieve a Shopify metaobject by GraphQL ID.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-metaobject.ts)                          |
| `get-order-by-identifier`                 | Retrieve a Shopify order by the documented order identifier input.           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-order-by-identifier.ts)                 |
| `get-order`                               | Retrieve a Shopify order by GraphQL ID.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-order.ts)                               |
| `get-product-by-identifier`               | Retrieve a Shopify product by handle or another supported identifier.        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-product-by-identifier.ts)               |
| `get-product`                             | Retrieve a Shopify product by GraphQL ID.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-product.ts)                             |
| `get-return`                              | Retrieve a Shopify return by GraphQL ID.                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-return.ts)                              |
| `get-shop`                                | Retrieve Shopify shop metadata for the connected store.                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/get-shop.ts)                                |
| `hold-fulfillment-order`                  | Place a hold on a Shopify fulfillment order to pause fulfillment.            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/hold-fulfillment-order.ts)                  |
| `list-abandoned-checkouts`                | List abandoned checkouts in a Shopify store.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-abandoned-checkouts.ts)                |
| `list-collections`                        | List Shopify collections with cursor pagination.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-collections.ts)                        |
| `list-companies`                          | List Shopify B2B companies with cursor pagination.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-companies.ts)                          |
| `list-customer-segments`                  | List Shopify customer segments with cursor pagination.                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-customer-segments.ts)                  |
| `list-discounts`                          | List Shopify discount nodes with pagination.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-discounts.ts)                          |
| `list-events`                             | List Shopify store events for the activity feed.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-events.ts)                             |
| `list-files`                              | List Shopify file resources with cursor pagination.                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-files.ts)                              |
| `list-inventory-levels`                   | List inventory levels for a location or inventory item.                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-inventory-levels.ts)                   |
| `list-locations`                          | List Shopify locations for the connected store.                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-locations.ts)                          |
| `list-markets`                            | List Shopify markets for the connected store.                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-markets.ts)                            |
| `list-metafield-definitions`              | List Shopify metafield definitions for a resource type.                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-metafield-definitions.ts)              |
| `list-metaobject-definitions`             | List Shopify metaobject definitions with pagination.                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-metaobject-definitions.ts)             |
| `list-metaobjects`                        | List Shopify metaobjects by type with pagination.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-metaobjects.ts)                        |
| `list-products`                           | List Shopify products with cursor pagination and optional search query.      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-products.ts)                           |
| `list-publications`                       | List available Shopify sales channel publications.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-publications.ts)                       |
| `list-url-redirects`                      | List URL redirects in a Shopify store.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-url-redirects.ts)                      |
| `list-webhook-subscriptions`              | List webhook subscriptions registered for the Shopify app.                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/list-webhook-subscriptions.ts)              |
| `mark-order-as-paid`                      | Mark a Shopify order as fully paid.                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/mark-order-as-paid.ts)                      |
| `move-fulfillment-order`                  | Move a Shopify fulfillment order to a different location.                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/move-fulfillment-order.ts)                  |
| `move-inventory-quantities`               | Move inventory quantities between Shopify locations.                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/move-inventory-quantities.ts)               |
| `open-order`                              | Reopen a closed Shopify order                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/open-order.ts)                              |
| `publish-resource`                        | Publish a Shopify resource to one or more sales channels.                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/publish-resource.ts)                        |
| `reject-fulfillment-request`              | Reject a fulfillment request on a Shopify fulfillment order.                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/reject-fulfillment-request.ts)              |
| `release-fulfillment-hold`                | Release a hold on a Shopify fulfillment order.                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/release-fulfillment-hold.ts)                |
| `send-customer-account-invite`            | Send an account invite email to a Shopify customer.                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/send-customer-account-invite.ts)            |
| `send-draft-order-invoice`                | Send the invoice email for a Shopify draft order.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/send-draft-order-invoice.ts)                |
| `set-customer-email-marketing-consent`    | Update email marketing consent for a Shopify customer.                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/set-customer-email-marketing-consent.ts)    |
| `set-inventory-quantities`                | Set absolute inventory quantities for tracked items.                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/set-inventory-quantities.ts)                |
| `set-metafields`                          | Create or update Shopify metafields in one call.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/set-metafields.ts)                          |
| `tags-add`                                | Add tags to a Shopify resource.                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/tags-add.ts)                                |
| `tags-remove`                             | Remove tags from a Shopify resource.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/tags-remove.ts)                             |
| `unpublish-resource`                      | Unpublish a Shopify resource from one or more sales channels.                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/unpublish-resource.ts)                      |
| `update-automatic-discount-bxgy`          | Update an automatic buy X get Y Shopify discount.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-automatic-discount-bxgy.ts)          |
| `update-automatic-discount-free-shipping` | Update an automatic free shipping Shopify discount.                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-automatic-discount-free-shipping.ts) |
| `update-automatic-discount`               | Update an automatic basic Shopify discount.                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-automatic-discount.ts)               |
| `update-collection`                       | Update a Shopify collection.                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-collection.ts)                       |
| `update-company`                          | Update a Shopify B2B company.                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-company.ts)                          |
| `update-discount-code-basic`              | Update a basic code discount in Shopify.                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-discount-code-basic.ts)              |
| `update-discount-code-bxgy`               | Update a buy X get Y code discount in Shopify.                               | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-discount-code-bxgy.ts)               |
| `update-discount-code-free-shipping`      | Update a free shipping code discount in Shopify.                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-discount-code-free-shipping.ts)      |
| `update-file`                             | Update metadata for a Shopify file resource.                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-file.ts)                             |
| `update-fulfillment-tracking`             | Update tracking details on a Shopify fulfillment.                            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-fulfillment-tracking.ts)             |
| `update-gift-card`                        | Update a Shopify gift card.                                                  | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-gift-card.ts)                        |
| `update-inventory-item`                   | Update mutable fields on a Shopify inventory item.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-inventory-item.ts)                   |
| `update-market`                           | Update a Shopify market.                                                     | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-market.ts)                           |
| `update-metafield-definition`             | Update a Shopify metafield definition.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-metafield-definition.ts)             |
| `update-metaobject-definition`            | Update a Shopify metaobject definition.                                      | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-metaobject-definition.ts)            |
| `update-metaobject`                       | Update a Shopify metaobject entry.                                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-metaobject.ts)                       |
| `update-order`                            | Update editable Shopify order fields.                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-order.ts)                            |
| `update-product-media`                    | Update media details for a Shopify product                                   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-product-media.ts)                    |
| `update-product-options`                  | Update options on a Shopify product.                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-product-options.ts)                  |
| `update-product-variants`                 | Update one or more variants for a Shopify product.                           | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-product-variants.ts)                 |
| `update-product`                          | Update a Shopify product.                                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-product.ts)                          |
| `update-url-redirect`                     | Update a URL redirect in a Shopify store.                                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-url-redirect.ts)                     |
| `update-webhook-subscription`             | Update a Shopify webhook subscription.                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/update-webhook-subscription.ts)             |
| `upsert-metaobject`                       | Create or update a Shopify metaobject by type and handle.                    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/actions/upsert-metaobject.ts)                       |
| `abandoned-checkouts`                     | Sync Shopify abandoned checkouts for retargeting workflows.                  | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/abandoned-checkouts.ts)                       |
| `collections`                             | Sync Shopify collections with pagination and optional search filters.        | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/collections.ts)                               |
| `companies`                               | Sync Shopify B2B companies with contact and location data.                   | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/companies.ts)                                 |
| `discounts`                               | Sync Shopify discount nodes with status and summary fields.                  | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/discounts.ts)                                 |
| `events`                                  | Sync Shopify store events for audit and activity feed use cases.             | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/events.ts)                                    |
| `files`                                   | Sync Shopify file resources including images and generic files.              | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/files.ts)                                     |
| `fulfillment-orders`                      | Sync Shopify fulfillment orders for operational workflows.                   | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/fulfillment-orders.ts)                        |
| `gift-cards`                              | Sync Shopify gift cards with balance and customer data                       | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/gift-cards.ts)                                |
| `inventory-items`                         | Sync Shopify inventory items with SKU, tracking, and cost data.              | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/inventory-items.ts)                           |
| `inventory-levels`                        | Sync Shopify inventory quantities across all locations.                      | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/inventory-levels.ts)                          |
| `locations`                               | Sync Shopify fulfillment and inventory locations                             | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/locations.ts)                                 |
| `markets`                                 | Sync Shopify markets and their regional configuration.                       | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/markets.ts)                                   |
| `metaobjects`                             | Sync Shopify metaobjects for one or more metaobject types.                   | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/metaobjects.ts)                               |
| `orders`                                  | Fetches a list of orders from Shopify.                                       | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/orders.ts)                                    |
| `products`                                | Sync Shopify products with variants, tags, status, and merchandising fields. | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/products.ts)                                  |
| `returns`                                 | Sync Shopify returns for post-purchase and reverse logistics workflows.      | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/returns.ts)                                   |
| `url-redirects`                           | Sync Shopify URL redirects for storefront migration and SEO workflows.       | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/shopify/syncs/url-redirects.ts)                             |

***
