Connecting to Channel advisor using Postman

570 views
Skip to first unread message

kalyan golla

unread,
Aug 8, 2020, 4:37:13 PM8/8/20
to ChannelAdvisor Developer Network
Hi Folks,

Have anyone tried to connect to Channel advisor using Postman. If so can I use the following config to request the token? FYI, for Client ID I have Base 64 Encoded the "{ApplicationID}:{SharedSecert}". Do I also need to fill something for Client secret if so with what?


kalyan golla

unread,
Aug 8, 2020, 8:20:28 PM8/8/20
to ChannelAdvisor Developer Network
Anybody ??

Howard Wheeler

unread,
Aug 10, 2020, 8:08:26 AM8/10/20
to ChannelAdvisor Developer Network
Good morning.

I have never been able to use Postmans token request for access token's but I haven't spent a lot of time trying to figure it out. I use 2 calls one for the access token then I use that token for my other requests. 

kalyan golla

unread,
Aug 10, 2020, 2:10:20 PM8/10/20
to ca...@googlegroups.com
Actually I am able to connect now using POSTMAN with Grant Type Authorization Code.  We can get the access token and post the payload at the same time using this method. For the Client ID we can use the APplication ID created in the developer console and the shared secret for CLient Secret. ALso the Scop needs to be defined in my case it is inventory orders.

--
You received this message because you are subscribed to the Google Groups "ChannelAdvisor Developer Network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cadn+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cadn/2f6091e4-9605-41e3-ad5f-41a5125fe592o%40googlegroups.com.


--
Best Regards
Kalyan

gkma...@gmail.com

unread,
Aug 19, 2020, 5:28:46 PM8/19/20
to ChannelAdvisor Developer Network
Hi,

Unfortunately the above method that I used is not working in my integration tool. So I think I may have to do the 2 calls as per the documentation, But I have the following issue just trying to access the access token via browser

I am following the documentation for Channel Advisor from the following link and trying to implement authorization code process


when I use the below url using POST method in the browser with the correct client id and the redirect url.



I get the authorization code successfully as shown in the screenshot.

And after I use the authorization code retrieved from the first URL in the following endpoint and do the POST operation in the browser I get invalid client error. Please let me know what am I missing here?



2020-08-19_14-10-15.png
Reply all
Reply to author
Forward
0 new messages