12-16-2024 06:57 AM
Today I use (sell) inventory API and create inventory and offer but when I am publishing this offer I am getting this error message:
Inventory item created successfully.
Offer created successfully. Offer ID: 596841459016
Failed to publish offer: {'errors': [{'errorId': 25002, 'domain': 'API_INVENTORY', 'subdomain': 'Selling', 'category': 'Request', 'message': 'A user error has occurred. No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request.', 'parameters': [{'name': '0', 'value': 'Item.Country'}]}]}
I tried to adding Country by many ways but every trick failed.
Can you please help to solve the issue?
Thank you
12-17-2024 04:18 AM
To successfully publish an offer on eBay using the Inventory API, you need to ensure that an inventory location is specified in the offer. Use the merchantLocationKey created with the createInventoryLocation call in the updateOffer/createOffer call then try again to publish the offer.
For more details, see the Inventory API guide to list the items.