Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Retail Server API Call ends with Commerce Exception "The channel does not exist or was not published" with Postman

(0) ShareShare
ReportReport
Posted on by 282

Hi,

I completed all the authentication steps to be able to generate an access token and call the Retail Server API.

I am actually able to call the Get Order History Odata endpoint provided in Microsot documentation as an example of Odata Call using Postman. I am getting the result on postman without any issues.

Get Order History is working fine as you can see below.

pastedimage1658072945293v2.png

Get Channels is also working fine as you can see blow

pastedimage1658073052076v3.png

Bu when i try to call another Odata endpoint like Get Active Prices or any other endpoint (customer, product ....), i am getting the following exception, can someone please inlight me ?

pastedimage1658071658892v1.png

pastedimage1658073108546v4.png

  • Shafeeque P. Profile Picture
    Shafeeque P. 6,499 Super User 2025 Season 1 on at
    RE: Retail Server API Call ends with Commerce Exception "The channel does not exist or was not published" with Postman

    Could you please  mark Mando's answer as verified so that the status gets updated ?

  • saad nadir Profile Picture
    saad nadir 282 on at
    RE: Retail Server API Call ends with Commerce Exception "The channel does not exist or was not published" with Postman

    That actually resolved my issue, thanks a lot Mando.

    I added the OUN header parameter to the postman request and i was able to get the retail server answer for GetOrderHistory, GetActivePrices, Products/GetById .... so i consider my issue resolved. Thanks again.

  • Mando Profile Picture
    Mando on at
    RE: Retail Server API Call ends with Commerce Exception "The channel does not exist or was not published" with Postman

    For calling "GetActivePrices" you'll have to add the Operating Unit Number for the channel you are intending to use in the call's header.  The header name is "OUN"

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: Retail Server API Call ends with Commerce Exception "The channel does not exist or was not published" with Postman

    Hi Saad,

    Did you in test environment and did you have access to your Retail Server logs in the Event Viewer which they might also be helpful to figure out the root cause.Please also take a look at the link about accessing Retail server API calls with postman:

    www.youtube.com/watch

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans