Updates are supported via PATCH requests. You can either PATCH the full document or just the fields that you wish to
change. Using a blank string or a null value will try and set the field value to blank or null respectively.
Not changing a field can only be done by not sending it in the patch request.
Certain fields returned in a stock response are readonly and cannot be changed.
PATCH
/v1/sale-events/{id}
curl \
--request PATCH 'https://api.dealerauction.co.uk/v1/sale-events/{id}' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{
"name": "November sale",
"endDate": "2026-11-12T18:00:00Z"
}'
Request example
Sale event patch
{
"name": "November sale",
"endDate": "2026-11-12T18:00:00Z"
}
Response examples (429)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (500)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (404)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (502)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (409)
{
"errorCode": "STOCK_ALREADY_EXISTS",
"vrm": "AB17ABC"
}
Response examples (401)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (400)
Badrequesterrorinfo
{
"errorCode": "INVALID_STOCK_ITEM",
"errorMessage": "An error message",
"errors": [
{
"message": "An error has occurred",
"key": "string"
}
]
}
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (403)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (200)
{
"id": "0cf03886-86ab-4314-94a3-bf76a810c8ed",
"name": "Spring Auction",
"sellerCustomerId": "10018184",
"members": {
"accountType": "MANHEIM",
"accountIds": [
"account1",
"account2"
]
},
"startDate": "2026-11-12T10:00:00Z",
"endDate": "2026-11-12T18:00:00Z"
}