Skip to main content

Refund Handling of Shopify Store via Zapier

Written by David Rolenc
Updated over 2 weeks ago

Automatically sync your Shopify refunds with Trackdesk using Zapier. This integration ensures that when an order is refunded in your store, the corresponding conversion in Trackdesk is updated immediately, keeping your commission data accurate.

⚠️ Important:

  • This Zap specifically tracks the Updated Order event in Shopify. It will only trigger an action in Trackdesk when the order's payment status changes to refunded.

  • To successfully match the refund, the External ID in Trackdesk must match the Order Number from Shopify.



1. Before You Start

Before configuring the Zap, ensure you have the following ready:

  • A Zapier account with Shopify and Trackdesk authorized.

  • Your Trackdesk Tenant ID and API Key (found in Settings > Your Trackdesk identifiers).

  • Your Revenue Origin ID (found at the bottom of the Settings page in Trackdesk).


2. Step-by-Step Instructions

Step 1: Create the Shopify Trigger

  1. Log in to your Zapier dashboard and click Create Zap.

  2. For the Trigger, select the Shopify app.

  3. Select Updated Order as the Event and click Continue.

  4. Choose your Shopify Account and click Continue.

  5. In the Trigger configuration, set the following:

    • Payment Status: refunded

    • Order Status: any

    • Fulfillment Status: any

  6. Click Test Trigger to pull in a recent refunded order from your store, then click Continue with selected record.

Step 2: Configure the Trackdesk Action

  1. Click the + icon to add a new Action and select the Trackdesk app.

  2. Select Change Conversion Status by External ID as the Event and click Continue.

  3. Select your Trackdesk Account. If this is your first time, you will be prompted to enter your Tenant ID and API Key.


  4. In the Action section, fill in the following fields:

    • Conversion Status: Select CONVERSION_STATUS_REFUNDED.

    • Conversion Type Code: Enter the code for your offer (typically sale).

    • External ID: Map this to the Order Number variable from the Shopify step.

    • Revenue Origin ID: Paste your unique Revenue Origin ID here.

  5. Click Continue.


3. Testing

Testing the Integration

  1. In the Test section of your Zap, click Test step.

  2. Log in to your Trackdesk account and navigate to Reports > Conversions.

  3. Locate the test order number and verify that its status has changed to Refunded.

  4. Once verified, click Publish to turn on the Zap.


Did this answer your question?