question

vako-3908 avatar image
0 Likes"
vako-3908 asked

Haw I can add new scope to Client Credential Grant Type?

Hello!
Haw I can add new scope to Client Credential Grant Type?
I have only /api_scope. But I need add scope /api_scope/sell.inventory too.
I don`t understand how I can do it.
The link everyone is suggesting is a request to increase the limit, not to add an scope https://developer.ebay.com/my/support/tickets?tab=app-check
Please help somebody! I don't understand why it takes so much time and effort to solve such simple questions :(

catalog apiclient credentialsoauth scope
10 |600

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

sing-harv avatar image
0 Likes"
sing-harv answered

Follow: https://developer.ebay.com/api-docs/static/oauth-consent-request.html

You simply add all relevant scope to your auth URL for the seller to give consent to your application. You. will also need to setup Success redirect page to your application for eBay to return back with the authorisation code which must be used straight away to capture access and refresh tokens from eBay automatically.

10 |600

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

jitendra_developersupport avatar image
0 Likes"
jitendra_developersupport answered

Hi @vako-3908,


To get the list of scopes assigned to your application keyset for either the Sandbox of Production environment, please follow the steps mentioned below:


1. Log in to the eBay Developer Program and navigate to Your Account > Application Keys.

2. Click the User Tokens link that's displayed next to the Client ID of the environment you want to target:

3. Under the Get a Token from eBay via Your Application heading, after configuring an RuName, an RuName box similar to the following displays
4. To view a complete sample request, click the See all link and Copy from the sample the full value of the scope parameter to get a list of scopes assigned to your application.

5. URL-encode the scope value when you send it with your request to the token server.

Ref: https://developer.ebay.com/api-docs/static/oauth-scopes.html#


Best Regards,

eBay Developer Support

10 |600

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.