10-11-2023 07:57 AM
I am using Ebay Api Explorer and Sandbox environment.
And try to create offer with default body (provided by ebay explorer)
{
"sku": "{SKU}",
"marketplaceId": "EBAY_US",
"format": "FIXED_PRICE",
"listingDescription": "description",
"pricingSummary": {
"price": {
"value": 0.99,
"currency": "USD"
}
},
"listingPolicies": {
"fulfillmentPolicyId": "78842674011",
"paymentPolicyId": "61019561011",
"returnPolicyId": "61019560011"
},
"categoryId": "178086",
"merchantLocationKey": "Store1",
"tax": {
"vatPercentage": 10.2,
"applyTax": true,
"thirdPartyTaxCategory": "Electronics"
}
}
But in response i got:
{
"errors": [
{
"errorId": 25002,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "A user error has occurred. Location information not found. Please try again or contact customer support."
}
]
}
I do not understand what field i`ve missed because each required field (according to documentation) presents in body.
11-07-2023 01:27 PM
I have this exact problem. Did you find the cause or a solution?
11-24-2023 05:38 AM
I *think*: you need to use the API to create an inventory location and then specify that in 'Create Offer'.
You're specifying 'Store1'.
I'd use Postman to call 'Get Inventory Locations' and make sure that 'Store1' exists.
I say that because this happened to us, and it was because the inventory location had vanished into thin air.
Mind you, recreating it then simply returned a new and different error which we haven't been able to resolve, and the project has been on hold for weeks.
12-22-2023 08:21 PM
Hey, I got this working because of you Maphil. Hope you did too.
You can verify all the things are correct in the API tool. Once you are able to create an inventory location, you can verify it with the look up. And then it's just the name of the location to add.