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

error when use restful api publishOffer

Hello,

When i call the api it returns the following error, should be missing ReturnsWithinOption,ShippingCostPaidByOption and Marque , mais i didn't find these fields in the restful api document, how can i call/put these fields with restful api? thanks

{
"errors": [
{
"errorId": 25009,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. Une option de retour est manquante ou n'est pas valide. Modifiez vos options de retour.",
"parameters": [
{
"name": "0",
"value": "ReturnsWithinOption"
}
]
},
{
"errorId": 25009,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. Une option de retour est manquante ou n'est pas valide. Modifiez vos options de retour.",
"parameters": [
{
"name": "0",
"value": "ShippingCostPaidByOption"
}
]
},
{
"errorId": 25002,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "A user error has occurred. La caractéristique de l'objet Type est manquante. Ajoutez Type à cette annonce, saisissez une valeur valide, puis réessayez.",
"parameters": [
{
"name": "0",
"value": "La caractéristique de l'objet Type est manquante."
},
{
"name": "1",
"value": "La caractéristique de l'objet Type est manquante. Ajoutez Type à cette annonce, saisissez une valeur valide, puis réessayez."
},
{
"name": "2",
"value": "Type"
}
]
},
{
"errorId": 25002,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "A user error has occurred. La caractéristique de l'objet Marque est manquante. Ajoutez Marque à cette annonce, saisissez une valeur valide, puis réessayez.",
"parameters": [
{
"name": "0",
"value": "La caractéristique de l'objet Marque est manquante."
},
{
"name": "1",
"value": "La caractéristique de l'objet Marque est manquante. Ajoutez Marque à cette annonce, saisissez une valeur valide, puis réessayez."
},
{
"name": "2",
"value": "Marque"
}
]
}
]
}

 

Message 1 of 3
latest reply
2 REPLIES 2

Re: error when use restful api publishOffer

 

"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Return policy. Une option de retour est manquante ou n'est pas valide. Modifiez vos options de retour.",

If your inventory item has a ReturnPolicy associated with that item, then review the Return Policy on your account page to see if that policy requires upgrading.  

 

Follow this  link to the page below to see that there are new EU rules for returns:

"returnPolicyId" : "string",

https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer 

 

La caractéristique de l'objet Type est manquante.

La caractéristique de l'objet Marque est manquante.

These two Item Specifics (Caractéristiques de l'objet) are required for the category where listed (Obligatoires— Les acheteurs ont besoin de ces détails pour trouver votre objet).
 
They are missing from your list of Item Specifics for those items.  Open/create a similar item on the site if you are not sure what values are expected for your particular item.


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

Re: error when use restful api publishOffer

after change returnPolicyID, this first error fixed, mais "La caractéristique de l'objet Marque est manquante" always displayed
Message 3 of 3
latest reply