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

Returns not accepted .net API

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

 

Message 1 of 2
latest reply
1 REPLY 1

Returns not accepted .net API

Hi @la-maison-du-gros-ours 

 

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:ebay:apis:eBLBaseComponents">    
	<ErrorLanguage>en_US</ErrorLanguage>
	<WarningLevel>High</WarningLevel>
  <AllFeaturesForCategory>true</AllFeaturesForCategory>
    <CategoryID>111422</CategoryID>
  <FeatureID>ReturnPolicyEnabled</FeatureID>
    <DetailLevel>ReturnAll</DetailLevel>
</GetCategoryFeaturesRequest>

 

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