question

funkjunkie_ibiza avatar image
0 Likes"
funkjunkie_ibiza asked ·

My first API call

I'm lost and i need help. The API documentation is just.... I don't know where to start. Why are there not any simple tutorials? I have managed to generate an access token using the Oauth flow. - all good. I am then using postman to test the api: GET: https://api.ebay.com/sell/inventory/v1/inventory_item Authorization; Bearer Result is a 403 forbidden - that's it nothing more! What is the secret? Why so painful? Please document the process in the docs correctly instead of leading us in a loop of illogical poorly written mess.
api-limit
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered ·
Hi @funkjunkie_ibiza, This request requires an access token created with the [authorization code grant flow][1], using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application): https://api.ebay.com/oauth/api_scope/sell.inventory.readonly https://api.ebay.com/oauth/api_scope/sell.inventory See [OAuth access tokens][2] for more information. Best Regards eBay developer Support [1]: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html [2]: https://developer.ebay.com/api-docs/static/oauth-tokens.html
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

funkjunkie_ibiza avatar image
0 Likes"
funkjunkie_ibiza answered ·
Yes I have already read and followed the guides as per your links. But it i not possible to make the request for the user token programmatically. It only works if you make the request from the developer program control panel to manually get the token and paste into whichever application is making the requests. This unfortunately renders the API useless - I already have given up on the idea of being able to use it for anything meaningful.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.