# Convert Lead To Opportunity

<mark style="color:green;">`POST`</mark> `[PlatformAddress]/api/1.0/venue?action=convertLeadToOpportunity`

#### Request Body

| Name    | Type    | Description                        |
| ------- | ------- | ---------------------------------- |
| leadId  | integer | The unique identifier of lead      |
| venueId | integer | The unique venue id of opportunity |
| stageId | integer | The stage of opportunity           |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

### Returns

| Property | Description                                                 |
| -------- | ----------------------------------------------------------- |
| success  | Whether or not the lead was converted to opportunity or not |

### Throws

| Code                 | Description             |
| -------------------- | ----------------------- |
| Specific Code: 24227 | The request is empty    |
| Specific Code: 24228 | The lead does not exist |
