Hi, I want to identify orders from different sources or channels for reporting and stats. We are using graphql admin api and shopify webhooks for getting all orders, However I cannot find consistent Tiktok shop source_name and/or Tiktok shop order id that’s reliable for stats from the docs.
If anyone can point me to the correct docs or identifier for tiktok shop orders, that’d be great, thanks!
TikTok Shop orders that sync into Shopify typically show up under Analytics > Reports > Sales by channel, but they often get lumped under a generic channel or tagged inconsistently depending on how the integration pushes them in.
What I’ve found most reliable is filtering orders by source name or channel directly in Orders > Filters > Channel. You can also export your orders to CSV and filter by source_name — that column usually distinguishes TikTok Shop from other channels more cleanly than the dashboard does. Worth checking if your TikTok integration is tagging orders with a unique channel identifier.
Hey! @ShahzaibJak
For TikTok Shop orders, source_name can be a bit inconsistent (especially across different sales channel / connector versions), so I wouldn’t rely on it as your primary key for reporting.
A couple of places that are usually more reliable to check via Admin GraphQL / webhooks:
app / sourceIdentifier-style fields: Many channel-created orders will include an app attribution (the app/sales channel that created the order). If TikTok is creating the order via their channel app, that’s often your best “channel” flag.
- Order “external ID” living in metafields or attributes: TikTok’s own order ID is frequently stored as either:
- order metafields (namespace/key varies by the TikTok app/connector), or
- note attributes / additional details depending on the integration.
If you search a few known TikTok orders in Admin and compare their metafields/attributes, you can usually spot the pattern quickly and then standardize on that.
For reporting/stats, you can also sidestep a lot of this by using Shopify’s built‑in Sales by sales channel / attribution-style reports (where available on your plan), and if you need a cleaner “one place” view with custom grouping rules (e.g., “if app = X OR metafield Y exists → TikTok”), an app like Mipler reports is handy because you can build a custom Orders report and bucket orders by app/metafield/UTM rules without fighting source_name.
If you share which TikTok integration you’re using (official TikTok sales channel vs a connector), I can point you to the exact fields that typically show up for that setup.