Delete 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
DELETE /v1/sale-events/{id}

Deletes a sale event using its identifier.

Path parameters

  • id string Required

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
  • 204

    Sale event deleted successfully

DELETE /v1/sale-events/{id}
curl \
 --request DELETE 'https://api.dealerauction.co.uk/v1/sale-events/{id}' \
 --user "username:password"
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"
}