03-08-2023 10:34 AM
Hi , I am trying to update one item with ReviseFixedPriceItem , but i keep getting errors:
Schema XML request error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
The sample data i am using with ReviseFixedPriceItem using Nodejs and Python SDK, getting this error in both, i have verified the json:
{
"Item":{
"ItemID":"theItemID",
"Variations":{
"Variation":[
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"1",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"6.5"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"9",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"7"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"14",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"7.5"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"22",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"8"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"14",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"8.5"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"0",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"6"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
},
{
"StartPrice":{
"_currencyID":"USD",
"value":"52.98"
},
"Quantity":"0",
"VariationSpecifics":{
"NameValueList":[
{
"Name":"US Shoe Size",
"Value":"9"
},
{
"Name":"Color",
"Value":"Black"
},
{
"Name":"Shoe Width",
"Value":"M"
}
]
}
}
]
}
}
}
Can anyone provide me what i am doing wrong?
01-22-2025 09:09 PM
did you ever find a solution for this ?
Welcome to the Seller Tools board! You can chat with other members about seller tools and best practices in using them.
Tools related questions? Learn more about:
Videos: