Dear!
I am developing an sheet app on Google Apps Script.
I would like to access Sell Inventory on eBay as below. I want to update inventory quantity as well.
I tried to access eBay API by OAthau2 as picture image. Follow google app scripts code. But eBay API response failed and request User do consent/ login. It doesn't work with our processing automatically.
Here is sample code: https://github.com/googleworkspace/apps-script-oauth2/blob/master/samples/Google.gs
Here is document of eBay say about authentication:
https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html
Could we have an one-time token/ simple Auth and Auth ?
[Purpose] Automatically update inventory on ebay
↓
[Problem] There is a problem with API linkage work (authentication is required many times on the client side when connecting APIs)
↓
[Solution] To eliminate the need for authentication each time by using a refresh token.
↓
[Result] But rewriting the code did not work (currently)
---------------------------
[What we want you to do]
About adaptation of refresh token