> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Shopify connector

- Connector: `appmixer.shopify`
- Version: 4.1.0
- Components: 56 (22 triggers, 34 actions)

Shopify is a software service that offers you to create a website and use their shopping cart solution to sell, ship, and manage your products.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0>
- Documentation: <https://docs.appmixer.com/connector-configuration/shopify>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/shopify>
- Download package: <https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/download>

## Authentication

**Type:** OAuth 2

**Scopes:**

- `read_customers`
- `write_customers`
- `read_products`
- `write_products`
- `read_orders`
- `write_orders`
- `read_draft_orders`
- `read_fulfillments`
- `read_inventory`
- `read_locations`
- `read_reports`
- `read_returns`
- `read_discounts`
- `write_discounts`
- `read_publications`
- `write_publications`

## Triggers (22)

- [Abandoned Cart](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.checkouts.AbandonedCart.md) (`appmixer.shopify.checkouts.AbandonedCart`): Triggers when a checkout of the online store is abandoned: the customer entered contact details and left without paying. Shopify lists a checkout as abandoned with a delay of several minutes; the trigger checks the newest 250 abandoned checkouts every minute.
- [New Checkout](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.checkouts.NewCheckout.md) (`appmixer.shopify.checkouts.NewCheckout`): Triggers when a checkout is started in the online store. The checkout is emitted with its details once Shopify lists it as an abandoned checkout; a checkout that is not listed yet (Shopify lists one after the customer enters contact details and a short delay) is emitted with its ID only.
- [Updated Checkout](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.checkouts.UpdatedCheckout.md) (`appmixer.shopify.checkouts.UpdatedCheckout`): Triggers when a checkout in the online store is updated, e.g. the customer enters an email or shipping address. The checkout is emitted with its details once Shopify lists it as an abandoned checkout; until then it is emitted with its ID only.
- [Deleted Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.DeletedCustomer.md) (`appmixer.shopify.customers.DeletedCustomer`): Triggers when a customer is deleted from the store.
- [New Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.NewCustomer.md) (`appmixer.shopify.customers.NewCustomer`): Triggers when a customer is created in the store.
- [Updated Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.UpdatedCustomer.md) (`appmixer.shopify.customers.UpdatedCustomer`): Triggers when a customer is updated. Changes made within 2 seconds of creating the customer are skipped.
- [New Draft Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.draftorders.NewDraftOrder.md) (`appmixer.shopify.draftorders.NewDraftOrder`): Triggers when a draft order is created.
- [Updated Draft Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.draftorders.UpdatedDraftOrder.md) (`appmixer.shopify.draftorders.UpdatedDraftOrder`): Triggers when a draft order is updated.
- [Inventory Level Updated](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.inventory.InventoryLevelUpdated.md) (`appmixer.shopify.inventory.InventoryLevelUpdated`): Triggers when the inventory quantities of a product variant at a location change, e.g. for low-stock alerts.
- [Cancelled Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CancelledOrder.md) (`appmixer.shopify.orders.CancelledOrder`): Triggers when an order is cancelled.
- [Deleted Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.DeletedOrder.md) (`appmixer.shopify.orders.DeletedOrder`): Triggers when an order is deleted. Emits the ID of the deleted order.
- [Fulfilled Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.FulfilledOrder.md) (`appmixer.shopify.orders.FulfilledOrder`): Triggers when an order is completely fulfilled.
- [New Fulfillment](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.NewFulfillment.md) (`appmixer.shopify.orders.NewFulfillment`): Triggers when a fulfillment is created on an order.
- [New Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.NewOrder.md) (`appmixer.shopify.orders.NewOrder`): Triggers when an order is created.
- [New Refund](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.NewRefund.md) (`appmixer.shopify.orders.NewRefund`): Triggers when a refund is created on an order.
- [New Paid Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.NewPaidOrder.md) (`appmixer.shopify.orders.NewPaidOrder`): Triggers when an order is paid.
- [Updated Fulfillment](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.UpdatedFulfillment.md) (`appmixer.shopify.orders.UpdatedFulfillment`): Triggers when a fulfillment is updated, for example when its tracking information or shipment status changes.
- [Updated Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.UpdatedOrder.md) (`appmixer.shopify.orders.UpdatedOrder`): Triggers when an order is updated. The update Shopify reports right after an order is created is skipped.
- [Deleted Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.DeletedProduct.md) (`appmixer.shopify.products.DeletedProduct`): Triggers when a product is deleted from the store.
- [New Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.NewProduct.md) (`appmixer.shopify.products.NewProduct`): Triggers when a product is created in the store.
- [Updated Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.UpdatedProduct.md) (`appmixer.shopify.products.UpdatedProduct`): Triggers when a product is updated in the store. The update that is part of creating a product does not trigger it.
- [Return Tracking](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.returns.ReturnTracking.md) (`appmixer.shopify.returns.ReturnTracking`): Triggers on the selected return events: a return is requested, approved, declined, cancelled, closed, reopened or updated.

## Actions (34)

- [Make Api Call](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.core.MakeApiCall.md) (`appmixer.shopify.core.MakeApiCall`): Call any Shopify Admin API endpoint with the connected account. By default it sends a GraphQL query or mutation to /graphql.json (GraphQL Admin API 2026-10); REST paths are accepted as well.
- [Count Customers](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.CountCustomers.md) (`appmixer.shopify.customers.CountCustomers`): Count the customers of the store, optionally only those created or updated in a time range.
- [Create Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.CreateCustomer.md) (`appmixer.shopify.customers.CreateCustomer`): Create a customer, optionally with an address, email marketing consent, tax exemptions and metafields.
- [Delete Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.DeleteCustomer.md) (`appmixer.shopify.customers.DeleteCustomer`): Delete a customer. Shopify refuses to delete a customer who has orders.
- [Find Customers](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.FindCustomers.md) (`appmixer.shopify.customers.FindCustomers`): Find customers by a search query and filters. Returns up to 250 customers.
- [Get Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.GetCustomer.md) (`appmixer.shopify.customers.GetCustomer`): Get a customer by ID, with contact details, marketing consent, addresses and order totals.
- [Update Customer](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.UpdateCustomer.md) (`appmixer.shopify.customers.UpdateCustomer`): Update a customer. Only the fields you fill in are changed.
- [Create Discount Code](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.discounts.CreateDiscountCode.md) (`appmixer.shopify.discounts.CreateDiscountCode`): Create a discount code that takes a percentage or a fixed amount off the order. Leave the code empty to have one generated.
- [Delete Discount Code](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.discounts.DeleteDiscountCode.md) (`appmixer.shopify.discounts.DeleteDiscountCode`): Delete a code discount together with all its discount codes.
- [Get Discount Code](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.discounts.GetDiscountCode.md) (`appmixer.shopify.discounts.GetDiscountCode`): Get the discount a discount code belongs to: its terms, status and codes.
- [Create Draft Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.draftorders.CreateDraftOrder.md) (`appmixer.shopify.draftorders.CreateDraftOrder`): Create a draft order, for example a quote or an order taken by phone, that the customer can pay through its invoice. Returns the draft order. Needs the write_draft_orders access scope on the Shopify app.
- [Delete Draft Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.draftorders.DeleteDraftOrder.md) (`appmixer.shopify.draftorders.DeleteDraftOrder`): Delete a draft order. Needs the write_draft_orders access scope on the Shopify app.
- [Update Draft Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.draftorders.UpdateDraftOrder.md) (`appmixer.shopify.draftorders.UpdateDraftOrder`): Update a draft order that is not completed yet. Fields left empty are not changed; line items, when given, replace all line items. Needs the write_draft_orders access scope on the Shopify app.
- [Set Inventory Quantity](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.inventory.SetInventoryQuantity.md) (`appmixer.shopify.inventory.SetInventoryQuantity`): Set the available (or on-hand) quantity of a product variant's inventory at a location. Switches inventory tracking on and stocks the item at the location when needed. Returns the inventory level. Needs the write_inventory access scope on the Shopify app.
- [Cancel Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CancelOrder.md) (`appmixer.shopify.orders.CancelOrder`): Cancel an order. Shopify cancels the order in the background, so the order shows as cancelled a moment later. Optionally restock the items and refund the payments.
- [Count Orders](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CountOrders.md) (`appmixer.shopify.orders.CountOrders`): Count the orders matching a Shopify search query and filters.
- [Create Fulfillment](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CreateFulfillment.md) (`appmixer.shopify.orders.CreateFulfillment`): Fulfill an order: mark its items as shipped, with optional tracking information. Leave the line items empty to fulfill everything that is left. Returns the fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.
- [Create Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CreateOrder.md) (`appmixer.shopify.orders.CreateOrder`): Create an order, for example to record a sale made outside Shopify. Line items are product variants or custom items.
- [Create Refund](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.CreateRefund.md) (`appmixer.shopify.orders.CreateRefund`): Refund line items (and shipping) of an order. Leave the line items empty to refund everything that can still be refunded. Returns the refund.
- [Delete Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.DeleteOrder.md) (`appmixer.shopify.orders.DeleteOrder`): Delete an order. Shopify deletes only orders that are archived (closed) or cancelled, and orders created through the API.
- [Find Orders](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.FindOrders.md) (`appmixer.shopify.orders.FindOrders`): Find orders matching a Shopify search query and filters. Returns up to 250 orders.
- [Get Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.GetOrder.md) (`appmixer.shopify.orders.GetOrder`): Get an order by its ID.
- [Mark Order As Paid](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.MarkOrderAsPaid.md) (`appmixer.shopify.orders.MarkOrderAsPaid`): Mark an order as paid. Shopify records a manual payment of the outstanding amount, for example when the customer paid by bank transfer or cash. Returns the updated order.
- [Update Fulfillment Tracking](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.UpdateFulfillmentTracking.md) (`appmixer.shopify.orders.UpdateFulfillmentTracking`): Replace the tracking information (tracking number, carrier, tracking URL) of a fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.
- [Update Order](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.UpdateOrder.md) (`appmixer.shopify.orders.UpdateOrder`): Update an order's contact details, note, tags, PO number or shipping address. Fields left empty are not changed.
- [Count Products](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.CountProducts.md) (`appmixer.shopify.products.CountProducts`): Count the products that match a search query and filters.
- [Create Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.CreateProduct.md) (`appmixer.shopify.products.CreateProduct`): Create a product, optionally with images and published to the Online Store.
- [Delete Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.DeleteProduct.md) (`appmixer.shopify.products.DeleteProduct`): Delete a product.
- [Find Products](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.FindProducts.md) (`appmixer.shopify.products.FindProducts`): Find products by a search query and filters. Returns at most 250 products. Each product carries up to 100 variants and 50 media.
- [Get Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.GetProduct.md) (`appmixer.shopify.products.GetProduct`): Get a product with its variants (up to 250) and media (up to 250).
- [Update Product](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.products.UpdateProduct.md) (`appmixer.shopify.products.UpdateProduct`): Update a product. Fields left empty keep their current values.
- [Payments Report](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.reports.PaymentsReport.md) (`appmixer.shopify.reports.PaymentsReport`): Run a payments report over a date range (net and gross payments and transaction count), optionally grouped by day, week or month.
- [Run Report](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.reports.RunReport.md) (`appmixer.shopify.reports.RunReport`): Run a ShopifyQL query against the shop's analytics and return the resulting table (columns and rows).
- [Sales Report](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.reports.SalesReport.md) (`appmixer.shopify.reports.SalesReport`): Run a sales report over a date range (total, gross and net sales, orders, discounts, returns, taxes and average order value), optionally grouped by day, week or month.

## Changelog

### 4.1.0

- Added Cancel Order, Mark Order As Paid, Create Refund, Create Fulfillment and Update Fulfillment Tracking (orders), Create, Update and Delete Draft Order (draft orders) and Set Inventory Quantity (inventory).
- Create Refund refunds every refundable line item when none are given and returns the money to the payments Shopify suggests; Create Fulfillment fulfills the order's open fulfillment orders; Set Inventory Quantity switches tracking on and stocks the item at the location when needed.
- The new components use the scopes of the existing consent, so connected accounts work with them. The draft order, inventory and fulfillment mutations also need write_draft_orders, write_inventory and write_merchant_managed_fulfillment_orders granted to the Shopify app (in its access scopes configuration); without them Shopify answers access denied.
- The E2E trigger test flows use the new components instead of Make API Call.

### 4.0.2

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 4.0.1

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 4.0.0

- BREAKING: The connector is rebuilt on the GraphQL Admin API (2026-10), which Shopify requires of new public apps in the App Store; it no longer calls the REST Admin API. Outputs are GraphQL objects: camelCase fields, global ids (gid://shopify/Order/123) with the numeric legacyResourceId alongside, enums in upper case, money as { amount, currencyCode }, UTC timestamps; lists such as lineItems, variants or addresses are plain arrays. Id inputs take a global id or a numeric id. Existing flows must be rebuilt.
- BREAKING: Components follow the current component standards. Find Customers, Find Orders and Find Products (search query, typed filters, sort, output type, notFound port; up to 250 items) replace List Customers, List Customer Orders, List Orders and List Products; Update and Delete components emit an empty object on `out`; every trigger emits on `out`. Inputs are camelCase.
- BREAKING: Webhook triggers read the object through GraphQL when the webhook arrives and emit it in the same shape as the Get and Find components, plus webhookTopic; repeated deliveries of one event are emitted once. Delete triggers emit { id, webhookTopic }. New/Updated Checkout emit the abandoned checkout once Shopify lists it, until then { id, webhookTopic }.
- BREAKING: Discount codes are code discounts (the GraphQL Admin API has no price rules); Create and Get Discount Code emit the discount with its codes, value and minimum requirement. Added Delete Discount Code. The read_price_rules and write_price_rules scopes are no longer requested.
- BREAKING: The read_publications and write_publications scopes are requested, so Create and Update Product can publish a product to the Online Store (publishToOnlineStore). Existing accounts must be reconnected.
- Addresses take the country and the state or province as codes (CZ, ON).
- Errors Shopify gives the same answer to on every attempt (invalid input, missing scope, unknown object, rejected mutation) stop the message instead of being retried.
- Make API Call: GraphQL (POST /graphql.json) is the documented default; relative paths resolve against API version 2026-10, and a full URL must point at the connected store, so the access token is not sent to other hosts.

### 3.0.1

- Create Customer, Get Customer, Update Customer, New Customer and Updated Customer describe their output with a static schema (titles and example values in the variable picker) instead of a list generated by a helper component; the fields are the same as in Find Customers. The never-populated Metafield field is no longer offered.
- Find Customers exports its item schema (ITEM_SCHEMA), so the output contract is visible to the validators and to `connector verify`.

### 3.0.0

- BREAKING: Authentication switched back from an Admin API access token (apiKey) to OAuth 2.0. Merchants connect a store through the consent screen of the Shopify app whose client ID and secret are set in the connector configuration; accounts connected with a token must be reconnected. Shopify stopped allowing new custom apps to be created in the store admin on January 1, 2026, so the token could no longer be obtained by new merchants.
- OAuth uses expiring offline access tokens with refresh token rotation, which Shopify requires of public apps created since April 2026 and of all public apps from January 2027. Shopify keeps one current token per app and store: connecting the same store a second time invalidates the earlier account within an hour.
- All scopes are requested in one consent: read/write customers, products, orders, discounts and price rules; read draft orders, fulfillments, inventory, locations, reports and returns.
- Restored the mandatory compliance webhooks of a public app (customers/data_request, customers/redact, shop/redact) and the install route. The webhook signature is now verified against the raw request body and no longer echoed in the error response.
- The store address is validated before the client secret or an access token is sent to it.

### 2.1.0

- Added the discounts module with Create Discount Code (generates a code plus the price rule holding its terms; the code is generated for you when left empty) and Get Discount Code (looks an existing code up and returns it with its discount terms). Both need the read_discounts/write_discounts and read_price_rules/write_price_rules scopes on the custom app token.

### 2.0.0

- BREAKING: Authentication switched from OAuth 2.0 to an Admin API access token (apiKey). Each merchant creates a custom app in their Shopify admin (Settings → Apps and sales channels → Develop apps) and provides the store address and shpat_ token; the auth tooltip lists all scopes the connector uses. Existing users must reconnect. App Store-only GDPR webhooks and the OAuth install route were removed.
- BREAKING: Find Customers migrated to the standard outputType pattern ('Output Type' selector, 'out' + 'notFound' ports, array output under 'result'); flows wired to the old 'customer' port must be rewired.
- BREAKING: Removed the reports CRUD components (plan-gated Shopify REST Report resource). Replaced by ShopifyQL-based Run Report (arbitrary query), Sales Report and Payments Report (friendly date range + grouping), available on basic/developer plans.
- Removed the shopify-api-node dependency: lib.js now calls the Admin REST API (2024-04) directly through context.httpRequest with throttling, 429/Retry-After handling and cursor pagination.
- Added 13 trigger components: New Paid Order, Cancelled Order, Fulfilled Order, New Refund, New/Updated Fulfillment, New/Updated Checkout, New/Updated Draft Order, Abandoned Cart, Inventory Level Updated and Return Tracking (new modules: checkouts, draftorders, inventory, returns).
- Return Tracking subscribes to the whole returns/* topic family via a 'Return Events' multiselect (returns/update alone never fires during a standard return journey) and registers webhooks through GraphQL, emitting the fired topic in webhookTopic.
- Create Order: omit empty customer objects and strip the UI-only variantType discriminator.
- Added E2E trigger test flows covering every trigger component (self-provoke via MakeApiCall where the Admin API allows it; storefront-driven flows carry step-by-step notes).

### 1.4.0

- Added MakeApiCall component for performing arbitrary authorized API calls to the Shopify API.

### 1.3.0

- Implemented test() methods for all trigger components to support Flow Test Mode.

### 1.2.1

- Added output examples to component schemas.

### 1.2.0

- Implemented multiselect input normalization for tax_exemptions field in CreateCustomer and UpdateCustomer components.

### 1.1.0

- Upgrade to the 2023-04 version of the Shopify API.

### 1.0.2

- Fix paging.

### 1.0.1

- Initial version.
