question

newtrendbeautysupply avatar image
0 Likes"
newtrendbeautysupply asked ·

Authorization Code Grant Type for cron job

My application is using cronjob. i want o create and update item using new sell API with the help of cron job. but as per the document you must use Authorization Code Grant Type to use inventory scope.

The problem is that with Authorization Code Grant Type a manual sign in is needed.
How can i get a user access token without a signin.

access tokennew sell apicron
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.

1 Answer

· Write an Answer
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @newtrend ,

You can not a get user access token/Authorization Code Grant Type token without getting the user consent. A user need to Agree on Grant Application Access page to generate a user access token.

REF: https://developer.ebay.com/api-docs/static/oauth-consent-request.htmlYou can also get a user access token through the eBay UI. Please go through the link given below to know more the process.

REF: https://developer.ebay.com/api-docs/static/oauth-ui-tokens.html

Best Regards ,
eBay Developer Support

· 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.