Hi everyone,
I’m looking for the best way to extract data from a Shopify app installed on our store, specifically Shopify Collabs, on a daily basis for internal analytics.
My goal is to automate the data collection process instead of exporting data manually every day.
I’m wondering if there is any supported approach, such as:
-
A Shopify API that exposes Shopify Collabs data.
-
A GraphQL or REST endpoint that can be used to retrieve the data.
-
Webhooks or another event-driven mechanism.
-
Any recommended automation method (e.g., Shopify Flow, app integrations, or other supported solutions).
Has anyone successfully automated the extraction of Shopify Collabs data? If so, I’d really appreciate it if you could share the approach or point me to the relevant documentation.
Thank you!
Hi @Tung_Vu, good question! There’s no public Collabs API right now.
For automation, the closest supported option is the Collabs connector in Shopify Flow. It gives you event triggers like Order Attributed, Creator Approved, and Gift Claimed, and you can send those to an external destination with an HTTP request action.
For the sales and attribution specifically, you can rebuild most of what the Collabs Sales report shows from the Admin API. Creator-attributed orders come in through affiliate links or discount codes, so you can query orders, filter on discountCodes / discountApplications for the code case, and use customerJourneySummary for the referral/link context. For aggregate totals, ShopifyQL via the shopifyqlQuery field is usually simpler than summing orders yourself.
This won’t reproduce creator profiles, commission tiers, or payouts, but it does get you the daily sales figures.
You’re not alone in thinking a dedicated API would be useful however, and I’ve added your feedback to the feature request we have open for this internally. I can’t say if or when this will be added, but the right people internally are aware. Thanks for raising this here!
I hope Shopify develops it in the near future.
Thanks