05-30-2024 01:37 PM
I am getting below response when trying to call the getStoreCategories rest API with all correct parameters and request body:
{
"errors":[
{
"errorId":225000,
"domain":"API_STORES",
"category":"APPLICATION",
"message":"Internel server error encountered. If this problem presists, contact the eBay Developers Program for support."
}
]
}
05-30-2024 04:35 PM
Are you sending a request in Sandbox or Production?
Can you share url of the request?
I just sent a request and got category back.
GET https://api.ebay.com/sell/stores/v1/store/categories
{
"storeCategories": [
{
"categoryId": "1",
"categoryName": "Other",
"order": 0,
"level": 1
}
]
}
05-31-2024 03:54 AM
Yes, I am using the sandbox endpoint of the getStoreCatgories. And thank you for sharing the GitHub link of the SDK. I will definitely give a try.
Thanks
06-03-2024 11:22 AM
Hello @znts-wholesale-global , I checked the C# wrapper for eBay REST API you shared, But it didn't provide any wrapper functions or methods for getting the seller's store categories nor any store related details. And also I double checked everything about the rest API but you are getting the response as you are using the production URL. Can you please check with sandbox URL and let me know if you are able to get successful response or not ?
Thanks
06-03-2024 05:52 PM
I have added a method for getStoreCategories in the latest relesae
https://github.com/CMS365-PTY-LTD/EbaySharp?tab=readme-ov-file#get-store-categories, Sandbox is broken most of the times, so I would say switch your testing to PROD.
06-04-2024 11:39 AM
Thank you @znts-wholesale-global for your answer, I am trying to integrate your SDK into my demo project. But using sandbox details, it's throwing errors at the moment PROD account is not set up yet. So can you provide me any link or reference that can guide me for the same?
Thanks
06-05-2024 02:38 AM
I did not try with Sandbox, you will encounter lots of issues in Sandbox.
May I know what are you trying to achieve by getting store categories?
06-05-2024 09:27 AM
Ok, I am trying to get the seller's store categories so that I can store it on nopCommerce side and map it to nopcommerce categories.