Hi, I'm trying to use the createInventoryLocation api (https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/createInventoryLocatio...) to set special hours for a location.
I'm trying to specify that the store is closed on Christmas Day.
If I submit the following I get "Input Error":
"specialHours": [
{
"date": "2025-12-25T00:00:00Z",
"intervals": [
{
"open": "00:00:00",
"close": "00:00:00"
}
]
}
]
The eBay Developer AI (which I've not had any luck with at all tbh, it's almost impossible to type into, I'm having to write my queries in another window and paste them in!) suggests that I should leave the intervals object empty, but if I do this, or try omitting it, I get a message saying it's missing "Missing field specialHours.intervals."
The closest I've managed to get is to specify the store is open for 1 second at midnight.
I must be missing something here but the documentation doesn't list what to do in the case the store is completely closed, if anyone has any advice, it would be greatly appreciated.
PS. if it helps I'm using the sandbox