# Void a quote with the reason; it stays on record and its links stop working

`POST /quotes/{id}/void` · Rivier · shop

Void a quote with the reason; it stays on record and its links stop working.

- Scope: shop:write
- Sdk: shop.quote.void
- Cli: quotes void

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    }
  },
  "required": [
    "reason"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/quotes/{id}/void' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "reason": "string"
}'
```
