Assistance Required: "Item.Country" Error During Publish Offer via REST API
Hello eBay Developer Support Team,
I am currently working on integrating the Publish Offer process using the eBay Sell Inventory REST APIs. However, I am encountering the following error when attempting to publish an offer:
ERROR [400]:
{
"errors": [
{
"errorId": 25002,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "Request",
"message": "A user error has occurred. Kein <Item.Country> existiert oder <Item.Country> ist in der Anforderung als leeres Tag angegeben.",
"parameters": [
{
"name": "0",
"value": "Item.Country"
}
]
}
]
}
ku-307797
Posted 9 months ago·Last reply 8 months ago
1 comment
developer-support@ebay.com
Hello @ku-307797,
Thank you for your post!
The error you’re seeing is likely due to an incorrect merchantLocationKey in the createOffer request, or you may have omitted the merchantLocationKey entirely. This field is required before an offer can be published and a live listing can be created.
Please review the following documentation for details and how to create a merchantLocationKey:
1. merchantLocationKey: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer#request.merchantLocationKey
2. createInventoryLocation: https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/createInventoryLocation
Best Regards,
eBay Developer Support