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

How to utilize the AdditionalInfo field for conditionDesccriptor

myitem["Item"]["ConditionDescriptors"]["ConditionDescriptor"].append({'Name': '27501', 'Value': row[12]})
myitem["Item"]["ConditionDescriptors"]["ConditionDescriptor"].append({'Name': '27502', 'Value': row[13]})
myitem["Item"]["ConditionDescriptors"]["ConditionDescriptor"].append({'Name': '27503', 'Value': '87651234'})

I'm using the code above to add the correct Professional Grader and Grade, however the last line, which is supposed to provide the Certification Number, is coming back with this error:

 

AddItem: Class: RequestError, Severity: Error, Code: 21920352, Condition descriptor value 87651234 is not valid for condition descriptor 27503. Condition descriptor value 87651234 is not valid for condition descriptor 27503., Class: RequestError, Severity: Error, Code: 21920357, Valid information is required for descriptor Certification Number (27503). Descriptor information sent as NULL. Valid information is required for descriptor Certification Number (27503).

 

I need advisement on how to populate this field, because what I'm doing is not working.

Message 1 of 2
latest reply
1 REPLY 1

Re: How to utilize the AdditionalInfo field for conditionDesccriptor

@nolanjaylefler 

 

https://developer.ebay.com/api-docs/sell/inventory/types/slr:ConditionDescriptor

 

The certification number is not a name/value under ConditionDescriptor. Instead, it is called "AdditionalInfo" under ConditionDescriptor. So I think your last row might be something like:

 

myitem["Item"]["ConditionDescriptors"]["ConditionDescriptor"].append({'AdditionalInfo': '87651234'})

 

 

See a Trading API example here:

https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/AddItem.html  

    <ConditionDescription> string </ConditionDescription>
    <ConditionDescriptors> ConditionDescriptorsType
      <ConditionDescriptor> ConditionDescriptorType
        <AdditionalInfo> string </AdditionalInfo>
        <Name> string </Name>
        <Value> string </Value>
        <!-- ... more Value values allowed here ... -->
      </ConditionDescriptor>

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 2
latest reply