02-03-2023 02:35 AM - edited 02-03-2023 02:36 AM
Hello,
does Post-Order API need any special authorization? I was trying to make requests by both code and Postman and everytime i was getting 401 as a response. What could be reason of that? Authorization token was correct because i was able to use other APIs (for example InventoryAPI).
Example of request that i was trying is "Search Cancellations".
On the side note, is there any yaml or sdk for Post-Order API like it is for other APIs?
02-14-2023 02:30 PM
Hi,
I am having the exact same issue currently. The documentation, from what I can tell, does not indicate that this is some protected (beta) API. So, I do not understand how providing all of the OAuth scopes still results in a 401 Unauthorized response.
02-27-2023 05:25 PM
Hi all,
A colleague and I tried lodging a support request after going through the same trouble as everyone here. They have redirected us to this page on their documentation : https://developer.ebay.com/Devzone/post-order/concepts/makingacall.html
We normally send `Bearer <token>` in Authorization header for these calls but for Post-Order API it is somehow different and they want either `Token <token>` or `IAF <token>`.
Hope this helps out, thanks!
05-01-2023 03:42 PM
I'm having trouble with this endpoint when using the older Auth-n-Auth and using "Token". I get a 401 on this endpoint. Are there any restrictions on the cancellation endpoints when using "TOKEN"?
This is necessary for older connections as it seems Cancellations support was dropped from the SOAP and XML APIs.
09-24-2024 02:00 PM
Authorization : IAF <Token> worked for me