---
title: "Update Customer Profile"
method: POST
path: "/api/fl-valor-vault/editcustomer/{vault_id}"
---

# Update Customer Profile

`POST /api/fl-valor-vault/editcustomer/{vault_id}`

## Request

- Base URL: `https://demo.valorpaytech.com`
- URL: `https://demo.valorpaytech.com/api/fl-valor-vault/editcustomer/{vault_id}`
- Auth: none required

## Path parameters

- `vault_id` string, required

## Headers

- `Valor-App-ID` string, required
- `Valor-App-Key` string, required

## Request body

- object
  - `customer_name` string, required: Must contain at least **2 alphabetic characters** and be **100 characters or fewer**. **Example:** `Melvin`, `John Smith`
  - `company_name` string: Maximum **160 characters**. **Example:** `Home Centers`, `ABC Technologies Inc.`
  - `customer_phone` string: Must be a **10-digit numeric** value. **Example:** `6129160161`
  - `customer_email` string: Must be a **valid email address**. **Example:** `john.doe@example.com`
  - `address_details` object[]
    - `address_id` integer, required: Address ID (Optional): Numeric value (up to 11 digits). If provided, updates the existing address; otherwise, creates a new address. Example: `12345`.
    - `address_label` string, required: Must be **unique** and **100 characters or fewer**. **Example:** `Home`, `Office`
    - `billing_customer_name` string: Maximum **100 characters**. **Example:** `Catherine P. Elliott`
    - `billing_street_no` string: Maximum **40 characters**. **Example:** `2629`, `12A`, `100-B`
    - `billing_street_name` string: Maximum **150 characters**. **Example:** `Rocket Drive`, `Main Street`
    - `billing_unit` string: Maximum **25 characters**. **Example:** `56`, `Suite 201`, `A-12`
    - `billing_city` string: Maximum **40 characters**. **Example:** `Golden Valley`, `New York`
    - `billing_state` string: Must be a **valid 2-letter US state code**. **Example:** `CA`, `MN`, `TX`
    - `billing_zip` string: Must be a **valid US ZIP code**. **Example:** `55427`, `55427-1234`
    - `shipping_customer_name` string: Maximum **100 characters**. **Example:** `Carolina M. Morris`
    - `shipping_street_no` string: Maximum **40 characters**. **Example:** `1650`, `45B`, `10-C`
    - `shipping_street_name` string: Maximum **150 characters**. **Example:** `Chicago Avenue`, `Oak Street`
    - `shipping_unit` string: Maximum **25 characters**. **Example:** `56`, `Suite 10`, `B-101`
    - `shipping_city` string: Maximum **40 characters**. **Example:** `Fresno`, `Los Angeles`
    - `shipping_state` string: Must be a **valid 2-letter US state code**. **Example:** `CA`, `FL`, `WA`
    - `shipping_zip` string: Must be a **valid US ZIP code**. **Example:** `93721`, `93721-1234`

## Response `200`

200

- object
  - `code` integer
  - `status` string
  - `vault_customer_id` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/valorpaytech/apis/valor-api.md) - [All operations](https://skmtc.dev/valorpaytech/apis/valor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/valorpaytech/apis/valor-api/revisions/190ee84879a2?raw)
