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

The Inventory API return ERROR Could not serialize field [requests.condition]

Hi I have some products of shoes categories. When send the request to inventory API with condition of NEW OTHER. It throgh an error. 

"errorId": 2004,
"domain": "ACCESS",
"category": "REQUEST",
"message": "Invalid request",
"longMessage": "The request has errors. For help, see the documentation for this API.",
"parameters": [
  {
     "name": "reason",
     "value": "Could not serialize field [requests.condition]"
  }
].

So I send the condition of NEW WITHOUT BOX as per eBay documentation of Condition Policies API.

But Same error on that too.

Please Help me out.

 

Message 1 of 5
latest reply
1 BEST ANSWER

Accepted Solutions

The Inventory API return ERROR Could not serialize field [requests.condition]

That worked. Thank You Thank You.

View Best Answer in original post

Message 5 of 5
latest reply
4 REPLIES 4

The Inventory API return ERROR Could not serialize field [requests.condition]

@interloper-com 

Are you including the underscores?

NEW_OTHER

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

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 5
latest reply

The Inventory API return ERROR Could not serialize field [requests.condition]

No. I was not including underscore. That was the issue. Thanks for your reply its working fine now.

Message 3 of 5
latest reply

The Inventory API return ERROR Could not serialize field [requests.condition]

Thank you for confirming your solution!

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

The Inventory API return ERROR Could not serialize field [requests.condition]

That worked. Thank You Thank You.

Message 5 of 5
latest reply