> For the complete documentation index, see [llms.txt](https://bump.sh/dealer-auction/doc/stock/llms.txt)

# Mark as sold

> POST /v1/listings/{listingId}/mark-as-sold
> 
> Support selling of a "provisional" vehicle for specified price.
> 
> The sale will be attributed to the highest bidder. The buyer cannot be changed. An auction needs at least one bidder for a sale to be made. The sale cannot be undone



## Servers
- Stock API: https://api.dealerauction.co.uk (Stock API)


## Authentication methods
- Basic


## Parameters

### Path parameters

- **listingId** (string)



### Body: application/json (object)

- **salePrice** (integer(int32))
  The sale price agreed between the buyer and seller



## Responses
### 429
Too Many Requests

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 500
Internal Server Error

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 404
Not Found

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 502
Bad Gateway

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 409
Conflict

#### Body: application/json (object)
- **errorCode** (string)

- **vrm** (string)


### 401
Unauthorized

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 400
Bad Request

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)

- **errors** (array[object])


### 403
Forbidden

#### Body: application/json (object)
- **errorCode** (string)

- **errorMessage** (string)


### 200
OK

#### Body: application/json (object)
- **id** (string)

- **stockId** (string)
  Your stock ID. You can retrieve stock information from the Stock resource using this identifier

- **status** (string)

- **auction** (object)

- **negotiation** (object)

- **sale** (object)



[Powered by Bump.sh](https://bump.sh)
