05-26-2025 08:42 PM
The "update inventory location" endpoint is broken.
Example output from "get inventory location":
{
"name": "Test",
"phone": "+10000000000",
"location": {
"address": {
"addressLine1": "1234 Example St.",
"city": "Austin",
"stateOrProvince": "Texas",
"postalCode": "78726",
"country": "US"
},
"geoCoordinates": {
"latitude": 30.428183,
"longitude": -97.842524
},
"locationId": "316212D8DBF29123E0643CFDFEC2010C"
},
"locationTypes": [
"WAREHOUSE"
],
"timeZoneId": "America/Chicago",
"merchantLocationKey": "9d523af9-da1e-624e-58aa-d8ae16dd5f60",
"merchantLocationStatus": "ENABLED"
}
Example input to "update inventory location": (merchantLocationKey=9d523af9-da1e-624e-58aa-d8ae16dd5f60)
{
"name": "NewName"
}
Output of that example update request:
{
"errors": [
{
"errorId": 25802,
"domain": "API_INVENTORY",
"category": "REQUEST",
"message": "Input error."
}
]
}
This error is returned for any validly constructed request body. The only way I can get any other error is if I introduce new errors.
05-26-2025 10:56 PM
Working for me
I changed postcode from 2000 to 2001 and updated.
I would suggest you try with minimum payload and then add more fields in it.
05-30-2025 08:45 AM
I'm not able to upload images, but I just ran this in postman:
It's nearly identical to your example, and I'm getting the same error.
curl --location 'https://api.sandbox.ebay.com/sell/inventory/v1/location/9d523af9-da1e-624e-58aa-d8ae16dd5f60/update_location_details' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <redacted>' \
--header 'Cookie: <redacted>' \
--data '{
"name": "Test",
"location": {
"address": {
"postalCode": "2001",
"country": "AU"
}
},
"locationTypes": [
"WAREHOUSE"
],
"merchantLocationKey": "9d523af9-da1e-624e-58aa-d8ae16dd5f60",
"merchantLocationStatus": "ENABLED"
}'
400 Bad Request
{
"errors": [
{
"errorId": 25802,
"domain": "API_INVENTORY",
"category": "REQUEST",
"message": "Input error."
}
]
}
05-30-2025 04:37 PM
You are trying on sandbox, so that could be the reason, there are countless posts in this form related to sandbox only problems.