question

powersports911 avatar image
-1 Like"
powersports911 asked

How Do I get a Scope Added to my Client Credentials.

I am having an issue generating an OAuth for my client_credentials. The link - https://developer.ebay.com/api-docs/static/oauth-scopes.html tells me nothing that I haven't already read and tried. I was told by eBay Premium Support to use Client Credentials for Background API processes. My Client Credentials only show that I have access to the standard Public access. . . https://api.ebay.com/oauth/api_scope which I can generate an OAuth for, but nothing else. I need to be able to pull orders and acknowledge orders. From what I can tell that requires the https://api.ebay.com/oauth/api_scope/sell.fulfillment

How do I get the sell.fulfillment added to my Client Credentials?


.

tokenoauth scopes
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 @powersports911,

getOrders of Fulfilment API request requires an OAuth user access token created with the authorization code grant flow not client credentials flow, 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.fulfillment

https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly


Best Regards,

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.

powersports911 avatar image
0 Likes"
powersports911 answered

@sanjiv_developersupport How do I generate the tokens without a UI - User Interface? This is for a background process and no user will be involved, so I do not want to go to Grant web page or use a Redirect URI.

.

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.

2k21wade avatar image
0 Likes"
2k21wade answered

The Client Credentials grant type is used by clients to obtain an access token outside of the context of a user. This is typically used by clients to access resources about themselves rather than to access a user's resources. Client Credentials (oauth.com)

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.