I wasn't able to get any help from Shopify support on this, But i'm trying to set up an integration. and i'm not able to identify what these order sources (sales channels) are.
Can anyone help me here:
I was able to find a good answer that was previously posted here: https://community.shopify.com/c/Shopify-APIs-SDKs/Get-order-s-sales-channel-name/m-p/324788/highligh...
In some cases, the source_name will be set to a reserved value such as web or pos to denote that the order originated from Shopify Online Store or Shopify POS.
For any third-party sales channels, the value is set to the app id of the sales channel. If you know the app id of the Amazon channel (by inspecting a known order), for example, you could build a mapping service on your end.
580111 is also the online store or "web" - depending on how the order is created, it will sometimes be saved as the ID.
Actually just found a few more
Some tips for figuring it out. Find an order with one of those app_ids. Then look at
- source_name (obviously)
Sometimes there is information in those that gives you the name of the app. Other times you get nothing.
If you have access to you can filter Orders by App and then look at the "sales_channel" query parameter in the URL to get the App ID.
Another way is to open the app and look at the Network tab and you'll see requests from your browser to Shopify with data about your use of Shopify. In those requests you will see the App ID used to identify that you opened that app, for example.
@HorseCowboy I just saw this was released! https://shopify.dev/changelog/channel-attribution-is-now-available-in-beta
Looks like we won't have to do this anymore?
@daniellangerOh that is exciting! However, it looks like apps must specify the `source_name`. Therefore it requires app authors to update their apps to specify their source_name themselves. So it's of no help attributing older orders and it's of no help translating app_ids to app / channel names. Therefore it would still be nice if someone were to come tell us what those app IDs are or provide an API that provides them. It's one of many little attributes that Shopify keeps hidden for no reason.