06-25-2024 09:05 AM
Hello all, I hope i'm in a the good category.
I'm currently working on the sandbox to test to upload a product from C# .net and I am facing something that makes my hair falling.
I have this code :
ReturnPolicy = new ReturnPolicyType
{
ReturnsAcceptedOption = "ReturnsNotAccepted"
}
And it answers that my returns conditions are not valid.
If someone can tell me why ?
Thanks
09-03-2024 11:33 AM
You can execute the GetCategoryFeatures call of Trading API with the "ReturnPolicyEnabled" FeatureID to know whether or not the specified eBay site and individual categories allow eBay sellers to create a return policy for the listing.
Sample Request Body for the call:
<?xml version="1.0" encoding="utf-8"?>
<GetCategoryFeaturesRequest xmlns="urn
apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<AllFeaturesForCategory>true</AllFeaturesForCategory>
<CategoryID>111422</CategoryID>
<FeatureID>ReturnPolicyEnabled</FeatureID>
<DetailLevel>ReturnAll</DetailLevel>
</GetCategoryFeaturesRequest>