---
title: "Update customer profile"
method: PATCH
path: "/api/agent/v1/account"
tags: ["Account"]
---

# Update customer profile

`PATCH /api/agent/v1/account`

## Request

- Base URL: `https://vaanzari.com`
- URL: `https://vaanzari.com/api/agent/v1/account`
- Auth: OAuth 2 (authorization code, authorization URL `https://vaanzari.com/oauth/authorize`, token URL `https://vaanzari.com/oauth/token`, scopes: `profile.write`)

Updates customer name, phone, and address. First call returns a browser approval URL; repeat unchanged with X-Vaanzari-Confirmation-Id after approval.

## Headers

- `X-Vaanzari-Confirmation-Id` string

## Request body

- ProfileUpdate
  - `name` string, required
  - `phone` string, required
  - `address` string, required

## Response `200`

Profile updated.

- ActionSuccess
  - `success` unknown, required

## Other responses

- `400`: Structured API error.
- `401`: Structured API error.
- `409`: Explicit confirmation required or invalid.

---

[API](https://skmtc.dev/vaanzari/apis/vaanzari-agent-and-catalogue-api.md) · [All operations](https://skmtc.dev/vaanzari/apis/vaanzari-agent-and-catalogue-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vaanzari/apis/vaanzari-agent-and-catalogue-api/revisions/1a8cc2dbe711?raw)
