- Documentation
- Integrations
- Apps
- Shopify integration
Shopify integration
Manage products, orders, customers and inventory, and react to store events for your clients' Shopify stores.
What it does
The Shopify integration lets you run product, order, customer, inventory, fulfillment and discount operations on behalf of your clients without leaving TaskJuice. Connect a client's Shopify store once, then read and change store data through the Shopify Admin GraphQL API, react to orders, customers and product changes the moment they happen, and chain those events into the rest of your workflow.
Connect a Shopify account
Shopify connections go through your own Shopify app, so clients see your organization's name when they approve access.
- In the Shopify Dev Dashboard, create an app and copy its client ID and client secret.
- Add your TaskJuice OAuth callback URL to the app's allowed redirection URLs. TaskJuice shows the exact URL in the next step.
- In the app's API access requests, open Protected customer data access and select the data your workflows use (customer data, plus name, email, phone and address). Without this, Shopify refuses every order, draft order, refund and customer operation and trigger. Development stores get access as soon as you save; apps listed on the Shopify App Store go through Shopify's review.
- In TaskJuice, open Connectors, choose Shopify, select Set up OAuth app, paste the client ID and client secret, and tick the scopes your workflows need.
- Select Connect account, enter the store subdomain (the part before
.myshopify.com), and approve the requested access in Shopify.
To revoke access, open the store's Shopify admin, go to Settings, then Apps and sales channels, and remove the app.
Triggers
Webhook triggers register themselves with Shopify when you publish the workflow. You do not need to set anything up in Shopify. Turning a workflow off stops its runs straight away; the registration in Shopify is cleaned up later, and disconnecting the store removes all of them at once.
- Orders: Order Created, Order Updated, Order Paid, Order Partially Fulfilled, Order Fulfilled, Order Cancelled and Order Deleted fire on the matching order event. Order Risk Assessment Changed fires when Shopify's fraud analysis for an order changes.
- Payments and refunds: Order Transaction Created fires on every authorization, capture, sale, refund or void. Tender Transaction Created fires when money actually changes hands. Refund Created fires when a refund is issued.
- Draft orders: Draft Order Created, Draft Order Updated and Draft Order Deleted.
- Customers: Customer Created, Customer Updated, Customer Deleted, Customer Account Enabled and Customer Account Disabled. New Tag Added to Customer and Tag Removed from Customer fire with just the tags that changed.
- Carts and checkouts: Cart Created and Cart Updated fire as shoppers fill a cart on the online store. Checkout Created, Checkout Updated and Checkout Deleted follow the checkout.
- Catalog: Product Created, Product Updated and Product Deleted; Collection Created, Collection Updated and Collection Deleted.
- Inventory: Inventory Level Updated fires when stock at a location changes. Inventory Stocked at Location and Inventory Unstocked at Location fire when an item starts or stops being stocked somewhere. Inventory Item Created, Updated and Deleted follow the item's SKU, cost and tracking settings.
- Fulfillment: Fulfillment Created and Fulfillment Updated, plus Fulfillment Event Created and Fulfillment Event Deleted for tracking updates such as "in transit" or "delivered".
- Store: Location Created, Location Updated and Location Deleted; Store Language Added and Store Language Updated; Store Settings Updated; Theme Created, Theme Updated, Theme Published and Theme Deleted.
- Company Created fires when a B2B company is created (Shopify Plus stores).
- New Blog, New Blog Article and New Abandoned Checkout check the store on a schedule and fire once per check with the new items in
items. Add a Loop step to handle them one at a time.
Every webhook delivery is checked against the HMAC-SHA256 signature Shopify sends in the X-Shopify-Hmac-Sha256 header, using your app's client secret. Deliveries that fail the check are rejected before they reach your workflow.
Actions
- Products: List, Get, Search, Create, Update, Delete and Publish to a sales channel.
- Variants: List, Get, Find (by SKU, barcode, title or product title), Create and Update.
- Orders: List, Get, Create, Update, Cancel, Close, Delete, Mark as Paid, Capture Payment and Find Transactions.
- Order edits: Begin Order Edit, Add Variant to Order Edit and Commit Order Edit, used together in that order.
- Draft orders: List, Create, Update and Complete.
- Customers: List, Get, Search, Create and Update.
- Inventory: List Inventory Levels, Adjust Quantities, Set Quantities and Update Inventory Item.
- Fulfillment: List Fulfillment Orders, Get Fulfillment Order and Create Fulfillment, with tracking details.
- Collections, discounts and content: Create/Update/List collections, add products to a collection, create discount codes and automatic discounts, create blog articles, create gift cards, and create B2B companies and company locations.
- Tags and metafields: Add Tags, Remove Tags, Set Metafields and Find Metafields on any resource.
Get Product and List Product Variants return each variant's inventory item ID and location IDs, which the inventory actions take as input.
Known limitations
- Protected customer data. Shopify blocks order, draft order, refund and customer data until your app has protected customer data access (step 3 above).
- Inventory changes need the current quantity. Adjust Quantities and Set Quantities ask for the quantity you expect before the change (
changeFromQuantity). Shopify rejects the change if the stored quantity differs, which stops two workflows from overwriting each other. Get the current value from List Inventory Levels. - Errors inside a successful response. Shopify reports some failures with an HTTP 200 and an
errorslist. TaskJuice fails the step and shows Shopify's message. Validation problems that Shopify returns in a mutation'suserErrorslist appear in the step output; checkuserErrorsbefore relying on the result. - Rate limits. The Admin API uses a cost-based limit per store. A 429 is retried automatically, and every response includes
extensions.cost.throttleStatusso workflows can pace themselves. - Two data shapes. Action results use the GraphQL shape (camelCase fields,
gid://IDs). Webhook payloads use Shopify's webhook shape (snake_case fields, numeric IDs). - Customer events carry no tags. Shopify leaves tags out of customer webhook payloads. To react to a tag change, use New Tag Added to Customer or Tag Removed from Customer.
- Theme and store-language triggers need extra scopes. Tick
read_themesandread_localesin your app keys and add them to your Shopify app's access scopes. - Account disabled and checkout deleted. Stores using new customer accounts can't disable an account, so Customer Account Disabled only fires on stores with classic accounts. Checkout Deleted fires when a checkout is completed or removed.
- One store per connection. Create one connection per client store.
- The integration targets Shopify Admin API version 2026-07.