Connect Shopify and manage orders

Updated Nov 28, 202611 min read
English
On this page

Connect Shopify and your team sees each customer's orders next to the conversation, with status, total, items, tracking and shipping address. This guide connects a shop through its own small Shopify app, which you set up once per shop.

Before you start

  • Connecting a shop needs an administrator or, on Enterprise, a member whose custom role has Manage integrations.
  • Your first Shopify shop is included on every plan, the free Hacker plan too. More shops come with the Enterprise plan: each further shop is $12 a month, or $9.60 a month billed yearly.
  • You need the Shopify account that owns the shop, for the Shopify admin, dev.shopify.com and Shopify Partners.

How the connection works

You create your own small app in Shopify's Dev Dashboard and give Deskwoot its Client ID and Client secret. Deskwoot then asks your shop for permission. After you approve, Shopify gives Deskwoot an access token for your shop.

Every merchant runs their own app with their own credentials, limited to their own shop. If you connect several shops, each one gets its own app.

Step 1: Open App settings

  1. Go to admin.shopify.com and log in with the Shopify account that owns your shop.
  2. In the left sidebar, click Apps (1.).
  3. At the bottom of the window that opens, click App settings (2.).
Click Apps in the sidebar of the Shopify admin, then App settings at the bottom of the window

Step 2: Copy your shop URL

This is the Apps page in your shop's settings. You also reach it from admin.shopify.com through Settings, then Apps.

  1. In the left column, under your shop's name, copy your shop URL, something like your-store.myshopify.com (1.). You paste it into Deskwoot at the end.
  2. Click Develop apps in the top right (2.).
Copy the shop URL under the shop name on the left, then click Develop apps at the top right

Step 3: Open the Dev Dashboard

On the App development page, click Build apps in Dev Dashboard. This opens Shopify's Dev Dashboard, where you create your app.

Click Build apps in Dev Dashboard

Step 4: Create an app

The Dev Dashboard shows your apps. Click the Create app button in the top right.

Click Create app in the top right

Step 5: Name the app

  1. In the form Create an app, type any name under App name, for example Deskwoot Connect.
  2. Click Create app in the top right.
Type a name under App name, then click Create app in the top right

Step 6: Set the scopes and the App URL

Your app has its own menu on the left. On the Create version page (under Versions), set three things:

  • Scopes under API access: click Select from list and select the scopes Deskwoot asks for when you connect, or type them into the field, separated by commas:
    • read_customers
    • read_orders and write_orders
    • read_products
    • read_inventory
    • read_fulfillments
    • read_merchant_managed_fulfillment_orders and write_merchant_managed_fulfillment_orders
    • read_returns and write_returns
  • App URL:
    https://deskwoot.com/api/auth/shopify/callback
  • Embed app in Shopify admin: untick this box. Deskwoot does not run inside the Shopify admin.

The write scopes let Deskwoot refund, cancel and update orders when your team or Fynn does that, and the fulfillment order scopes let it mark orders shipped.

To also read orders older than 60 days, add read_all_orders. Shopify may ask you to request access to it first; if the release fails with it, leave it out. The screenshot below shows an older setup with fewer scopes.

Under API access, click Select from list next to Scopes, paste the App URL and untick Embed app in Shopify admin

Step 7: Add the redirection URL and release

Stay on the same page.

  1. Allowed redirection URL(s): the same URL as in the App URL field.
    https://deskwoot.com/api/auth/shopify/callback
  2. Leave the other fields, such as Use legacy install flow, as they are.
  3. Click Release.
The App URL, Embed app in Shopify admin unticked, and the same URL under Allowed redirection URL(s)

Step 8: Confirm the release

The dialog Release this new version? opens. You can leave Version message (optional) empty. Click Release to publish the version.

Click Release in the dialog Release this new version?

Step 9: Allow customer data

Without this step Shopify does not share orders and customers with your app, and Deskwoot cannot import them.

  1. In the Dev Dashboard, open your app's Overview.
  2. Click Select distribution method. This takes you to Shopify Partners.
  3. Click API access requests.
  4. Click Protected customer data access.
  5. Next to Protected customer data, click Select.
  6. Tick Customer service and Store management.
  7. Click Save.
  8. Do the same for Name, Email, Phone and Address.

You do not need step 2 on that page or a distribution method. An app like this one, which is not listed in the Shopify App Store, needs no review by Shopify.

The fields Name and Email, each with Select and the reasons Customer service and Store management

Step 10: Copy the Client ID and secret

Back in the Dev Dashboard, click Settings in your app's menu on the left. The Credentials section at the top shows two values:

  • Client ID: click the copy icon next to it.
  • Client secret: hidden at first. Click the eye icon to show it, or click the copy icon next to it.
Copy the Client ID and the Client secret under Credentials

Step 11: Connect in Deskwoot

The Connect Shopify window with Shop domain, Client ID and Client secret filled in and the Connect with Shopify button
  1. In Deskwoot, open Settings > Integrations and click Connect on the Shopify card.
  2. Fill in Shop domain with the URL from step 2, for example your-store.myshopify.com, without https://.
  3. Fill in Client ID and Client secret with the two values from step 10.
  4. Click Connect with Shopify. Shopify opens your shop and asks you to approve the access.
  5. Click Install app.

Shopify sends you back to Deskwoot. In the background, Deskwoot then imports your Shopify customers as contacts and after that your orders. New orders and changes arrive through Shopify webhooks.

Connecting during the guided setup? Its Store step shows the app setup with the values to copy. Allow customer data as in step 9 of this article there too, because the setup does not list that step.

Connect more than one shop

Your first shop is included on every plan. On the Enterprise plan you can add more: each further shop is $12 a month, or $9.60 a month billed yearly, on the same billing interval as your plan.

  1. Open Settings > Integrations and click Manage on the Shopify card.
  2. Click Connect another Shopify shop. When every booked shop is already connected, Add a Shopify shop opens first, where an administrator books and pays for the extra shop.
  3. Set up the new shop's own app with steps 1 to 11.

Every shop has its own row under Connected shops, with its status and Disconnect. When a customer has orders in several shops, each order shows the name of its shop. You change the number of extra shops under Settings > Billing.

If your plan drops below Enterprise, the extra shops are paused and the add-on ends with its period. A paused shop keeps its orders, but Deskwoot does not read it or act on it.

What your team sees

A linked Shopify order in the Details tab: shipped, with tracking number, expected arrival and the Refund button

Open a conversation and look at the Orders section in the Details tab of the right panel. Deskwoot finds the customer's Shopify orders by the contact's email address.

Each order shows its number, payment status, date, total and fulfillment status. Click an order to see the items, tracking with Track shipment and the shipping address. In the opened order, people with the right permission see these buttons:

  • Refund opens a window where you refund all or part of the order, see below.
  • Cancel order cancels an order that has not shipped yet and stops fulfillment. Shopify also refunds the order in full, puts the items back in stock and emails the customer.
  • Mark shipped asks for the carrier and the tracking number and marks an order that has not shipped yet as shipped.

In the Refund window, pick the items and how many of each, choose Put back in stock for each item, refund the shipping, or type an amount. Shopify computes the amount for what you pick, and you can refund less.

Email the customer about the refund is on by default. An order that is partly refunded can be refunded again until nothing is left.

Each of these actions leaves a private note in the conversation that only your team sees. Administrators can do all three. On Enterprise, a custom role can give other members Issue refunds (Shopify, Stripe, WooCommerce), Cancel orders and subscriptions and Fulfill orders. The standard Agent role sees the orders but not the buttons.

In the iPhone and Android app

Open a conversation and go to the Details tab. Under Orders you see the customer's orders.

With the permission Issue refunds (Shopify, Stripe, WooCommerce), Refund opens the same refund window as on the web: refund all or part of the order by items and quantities, with Put back in stock, the shipping or an amount. For a Shopify order, Email the customer about the refund is on by default.

Cancel order and Mark shipped are in the web dashboard only.

Fynn and Shopify

Fynn can read the same orders to answer questions like "Where is my order?". Switch on Orders under Fynn > What Fynn may do > What may Fynn look up?. Fynn is part of the Startup, Business and Enterprise plans.

When a visitor who is not verified asks where an order is, Fynn first asks for the order number and the shipping postal code. This also works for an order Deskwoot has not stored yet, for example one placed before you connected the shop: Fynn then looks the number up live in your shop.

Without read_all_orders in your app, Shopify lets Deskwoot read only the orders of the last 60 days, so an older order is found only when Deskwoot already has it. When number and postal code do not match, Fynn asks the customer to check both, and then offers to verify them by email instead.

Copilot also sees the customer's Shopify orders when it helps your team.

When you connect the shop in the guided setup, its Store step also asks what Fynn may do with orders: look up the order status and share tracking links. Refunds and cancellations stay off until you allow them in the bot settings (Settings > Bots).

Troubleshooting

  • "Shopify does not share this shop's orders with your app yet": the app is missing step 9. Allow customer data, then click Reconnect on the shop's row so Deskwoot imports the orders.
  • "Your Shopify app lacks access Deskwoot needs": the app's version misses scopes from step 6. Add the scopes the message lists under API access, release the version, then click Reconnect.
  • "Shopify rejected the install signature": the Client secret does not match the Client ID. Copy both again from dev.shopify.com, your app, Settings, Credentials, and try again.
  • "The install link took too long": install links expire 15 minutes after you click Connect with Shopify. Click it again to start over.
  • "Shopify refused to exchange the install code for an access token": usually the Client secret is wrong, or the Allowed redirection URL(s) of your app do not include https://deskwoot.com/api/auth/shopify/callback. Check both and try again.
  • "The shop Shopify sent back does not match the shop domain you entered": you approved the install on another shop than the one you typed. The message shows both. Enter the domain of the shop you installed on and connect again.
  • "Your plan includes one Shopify shop": a second shop needs the Enterprise plan and a booked extra shop.
  • The app shows in your Shopify admin, but Deskwoot is not connected: the way back to Deskwoot was interrupted, for example by a closed tab. Click Connect with Shopify again.
  • No orders in a conversation: the contact's email has to match the customer's email in Shopify. A contact without an email shows that no orders can be looked up.

Frequently asked questions

Why can my agents see orders but not the Refund button?

The buttons need permissions that the standard Agent role does not have. On Enterprise, an administrator can give them through a custom role with Issue refunds (Shopify, Stripe, WooCommerce), Cancel orders and subscriptions or Fulfill orders.

Can my agents refund only part of an order?

Yes. Refund lets you pick single items and their quantities, refund the shipping or type an amount. Shopify computes the amount for the items you pick, and you can refund less.

Can I connect more than one Shopify shop?

Yes, on the Enterprise plan. Your first shop is included on every plan, and each further shop is $12 a month, or $9.60 a month billed yearly. Click Manage on the Shopify card, then Connect another Shopify shop.

Can I disconnect a shop later?

Yes. An administrator opens Settings > Integrations, clicks Manage on the Shopify card and then Disconnect on the shop's row. Deskwoot removes its webhooks from that shop and revokes the access token, which also uninstalls the app from the shop. Then it deletes the connection and the orders it stored for that shop.

Can I refund a Shopify order in the iPhone and Android app?

Yes, in full or in part, with the same permission as on the web. Cancel order and Mark shipped work in the web dashboard only.

What does Deskwoot do with the Client secret?

Deskwoot uses it to finish the install with Shopify. It also keeps it, encrypted, because Shopify signs its webhooks with the same secret and Deskwoot checks that signature on every webhook. The access token Shopify returns is stored encrypted too.

Was this guide helpful?

Keep reading

Still need help?

Fynn answers from these guides in the chat, and you can reach the team there too.