# A new draft copied from a proposal, without its number; idempotent on the key

`POST /proposals/{id}/duplicate` · Rivier · shop

A new draft copied from a proposal, without its number; idempotent on the key.

- Scope: shop:write
- Mcp: rivier_proposals_duplicate
- Graphql: Mutation.shopProposalDuplicate
- Sdk: shop.proposal.duplicate
- Cli: proposals duplicate

## Parameters

- `id` (path, required), string

## Request body

`application/json`

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

## Responses

- `201`: 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/proposals/{id}/duplicate' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "idempotencyKey": "string"
}'
```
