cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inquiry About OAuth Token Access for eBay API

Hello eBay Developer Support,

 

I am a developer working on integrating eBay's API into my application, specifically for accessing order data. I am currently facing challenges due to the OAuth scopes available under different grant types.

  1. Scope Limitations: I understand that the Client Credentials Grant Type only allows for the https://api.ebay.com/oauth/api_scope. However, I need access to the sell.fulfillment and sell.fulfillment.readonly scopes to manage order fulfillments.

  2. Automation Requirements: I aim to automate the process of fetching order data without user intervention. Is there a way to obtain an OAuth token with the required scopes that would allow me to do this?

  3. Possible Solutions: Could you provide guidance on any options for obtaining the necessary permissions or alternative methods to access order data in a fully automated manner?

Thank you for your assistance. I look forward to your guidance on how to proceed.

Best regards,

Message 1 of 3
latest reply
2 REPLIES 2

Inquiry About OAuth Token Access for eBay API

In the following link, I have explain how to get token and I used c# to automate the whole process.

https://github.com/CMS365-PTY-LTD/EbaySharp?tab=readme-ov-file#access-and-security

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 2 of 3
latest reply

Inquiry About OAuth Token Access for eBay API

Hi @dunsterhouseltd,

 

Fulfillment API calls like getOrder and getOrders require an User Access Token created with the authorization code grant flow, using the below OAuth scopes:

 

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

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

 

You can check the "OAuth scope" section in the API documentation to get the information on required Access token and Scope for the call.

Best Regards,
eBay Developer Support
Message 3 of 3
latest reply