How to set sales channel in Rest/Admin Order API

usehj
Shopify Partner
5 0 2

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

 

 

Replies 3 (3)

DeyanTodorov
Shopify Partner
2 0 1

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

usehj
Shopify Partner
5 0 2

You need to convert your app into sales channel first.image_2023_10_19T04_41_24_511Z.png

Warehouse23
Visitor
1 0 0

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