How to set sales channel in Rest/Admin Order API

Hello,

I am using shopify Rest/admin API to create orders.

I want to set sales channel in API but its not working. I have set source_name = ‘Test’ but its not showing in shopify admin orders dashboard. Order created successfully but sales channel not showing up.

In order response I get correct values but when I see in admin dashboard sales channel showing blank.

This is order response:

“source_identifier”: “Test”,
“source_name”: “Testing”,
“source_url”: “null”,

How to set custom sales channel?

I have read article but its not working.

https://shopify.dev/changelog/attribute-orders-to-a-sales-channel

I have created a custom app but I can’t find where I can set sales channel.

Thanks

2 Likes

Hey, I’m in same situation. Do you found a solution ?

1 Like

I have this issue as well, trying to get a custom sales channel setup for my custom app.

You need to convert your app into sales channel first.