web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    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

  • Mando Profile Picture
    on at

    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"

  • saad nadir Profile Picture
    282 on at

    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.

  • Shafeeque P. Profile Picture
    6,533 Moderator on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 152 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans