10-03-2024 03:21 AM
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.
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.
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?
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,
10-03-2024 03:40 AM
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
10-29-2024 09:38 AM
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.