Update a sale event

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/dealer-auction/doc/stock/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "stock MCP server": {
    "url": "https://bump.sh/dealer-auction/doc/stock/mcp"
  }
}

Close
PATCH /v1/sale-events/{id}

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.

Path parameters

  • id string Required
application/json

Body Required

  • empty boolean
  • array boolean
  • null boolean
  • object boolean
  • float boolean
  • floatingPointNumber boolean
  • nodeType string

    Values are ARRAY, BINARY, BOOLEAN, MISSING, NULL, NUMBER, OBJECT, POJO, or STRING.

  • integralNumber boolean
  • missingNode boolean
  • valueNode boolean
  • container boolean
  • pojo boolean
  • bigDecimal boolean
  • bigInteger boolean
  • textual boolean Deprecated
  • binary boolean
  • long boolean
  • number boolean
  • short boolean
  • string boolean
  • boolean boolean
  • double boolean
  • int boolean
  • embeddedValue boolean

Responses

  • 429 application/json

    Too Many Requests

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 502 application/json

    Bad Gateway

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 409 application/json

    Conflict

    Hide response attributes Show response attributes object
    • errorCode string
    • vrm string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 400 application/json

    Bad Request

    One of:
  • 403 application/json

    Forbidden

    Hide response attributes Show response attributes object
    • errorCode string
    • errorMessage string
  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id string

      Identifier of the sale event

    • name string

      Name of the sale event

    • sellerCustomerId string

      Customer ID of the seller hosting the sale event

    • members object

      Account types and IDs included in the sale event

      Hide members attributes Show members attributes object
      • accountType string

        The account type for sale-event members

      • accountIds array[string]

        Account IDs included as members of the sale event

    • startDate string(date-time)

      Start date and time of the sale event

    • endDate string(date-time)

      End date and time of the sale event

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)
{
  "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"
}