> For the complete documentation index, see [llms.txt](https://docs.sendstackhq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sendstackhq.com/delivery-api/partners/update-partner-profile.md).

# Update Partner Profile

## Update partner profile

<mark style="color:purple;">`PATCH`</mark> `{baseUrl}/partners/:id`

Update partner profile by id

#### Path Parameters

| Name                                 | Type   | Description |
| ------------------------------------ | ------ | ----------- |
| id<mark style="color:red;">\*</mark> | String |             |

#### Request Body

| Name        | Type   | Description |
| ----------- | ------ | ----------- |
| name        | String |             |
| phone       | String |             |
| disabledSms | String |             |

{% tabs %}
{% tab title="200: OK Partner updated successfully" %}

{% endtab %}
{% endtabs %}

### Sample Success Data

```json
// Sample Request Body
{
    "name": "test",
    "phone": "09011233344",
    "disabledSms": false
}
```

```json
// Sample Response Body - 200 OK
{
    "status": true,
    "message": "Partner updated successfully",
    "data": {
        "bankAccountDetails": {
            "accountName": "test",
            "accountNumber": "0001112223"
        },
        //...truncated for brevity
    }
}

```
