---
title: "Update current dealer"
method: POST
path: "/dealer"
tags: ["Administration"]
---

# Update current dealer

`POST /dealer`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/dealer`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/dealer/post.ts> (a function with typed inputs; its response is checked against the schema)

Modify the settings of the current dealer.

## Request body

- object
  - `email` string: The email address.
  - `display_name` string: The display name of user.
  - `website` string: The website of user.
  - `phone` string: The mobile phone number of user.
  - `address` string: The address.
  - `description` string: The description of dealer.

## Response `200`

OK

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
