question

eparts.shop avatar image
0 Likes"
eparts.shop asked ·

Is it possible to create an autonomous app that retrieves orders, without having the user to manually login.

Hi, I have been reading through the documentation with regard to oAuth, orders, fullfillment, api keys, etc. After this i was not able to figure out if it is possible to create an autonomous app that can get all the orders from eBay and post them to another system. **Without having the user to approve the app every time.** Because i'm getting orders, i think i need an 'Authorization code grant', but from what i read, i understand that the user has to login every time. Is there a way to bypass this? How can i make this requirement? Thanks in advance, Peter
oauth2ordersauthorization code grant
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.

sanjeev_developersupport avatar image
0 Likes"
sanjeev_developersupport answered ·
Hi @eparts.shop, Without user token, which represents permission for an application to access, on the user's behalf, eBay data using eBay APIs, you can't retrieve orders automatically. If you are using eBay's OAuth flow, the user token expires after 2 hours, and your application renew it programmatically by using a private refresh token for the same user, which typically expires after 18 months. If you are using eBay's Auth 'n' Auth flow, the user token typically expires after 18 months. The user can update their Auth 'n' Auth token or (if it has expired) create a new token by logging into eBay again. https://developer.ebay.com/DevZone/guides/features-guide/default.html#Basics/tokens.html Please call "GetTokenStatus" to check token status: https://developer.ebay.com/devzone/xml/docs/Reference/eBay/GetTokenStatus.html#GetTokenStatus Best Regard eBay Developer Support.
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.

sanjeev_developersupport avatar image
0 Likes"
sanjeev_developersupport answered ·
Hi @eparts.shop, You have to manually go through login flow once, but then can use refresh token to automate everything after that. For the help please go through this doc: https://developer.ebay.com/DevZone/guides/features-guide/default.html#Basics/tokens.html Best Regard eBay Developer Support
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.