---
title: "Update customer"
method: PUT
path: "/customers/{customerId}"
tags: ["Customer"]
---

# Update customer

`PUT /customers/{customerId}`

## Path parameters

- `customerId` string, required

## Request body

- CustomerUpdateRequest
  - `customerCode` string — The unique customer code.
  - `contactName` string — The primary contact name (full name) of the customer.
  - `businessName` string — The business name of the customer. There must be either a contact name or business name present.
  - `cellPhone` string — The cell phone number of the customer.
  - `billingAddress` Address
    - `name` string, required — Contact Name or Business Name
    - `street1` string, required
    - `street2` string
    - `city` string
    - `province` string — 2 letter abbreviation of the province (AB, BC, CA). Required field if country is CAN or USA.
    - `country` string — 3-letter abbreviation of the country (CAN, USA)
    - `postalCode` string, required
    - `phone` string — 10 to 15 digits phone number.
    - `email` string
  - `shippingAddress` Address
    - `name` string, required — Contact Name or Business Name
    - `street1` string, required
    - `street2` string
    - `city` string
    - `province` string — 2 letter abbreviation of the province (AB, BC, CA). Required field if country is CAN or USA.
    - `country` string — 3-letter abbreviation of the country (CAN, USA)
    - `postalCode` string, required
    - `phone` string — 10 to 15 digits phone number.
    - `email` string

## Response `200`

Successful

- Customer
  - `id` integer — Id of Customer
  - `customerCode` string — Customer code of the customer
  - `businessName` string — Name of the business
  - `contactName` string — Contact Name
  - `cellPhone` string — Cell phone number of customer
  - `billingAddress` Address
    - `name` string, required — Contact Name or Business Name
    - `street1` string, required
    - `street2` string
    - `city` string
    - `province` string — 2 letter abbreviation of the province (AB, BC, CA). Required field if country is CAN or USA.
    - `country` string — 3-letter abbreviation of the country (CAN, USA)
    - `postalCode` string, required
    - `phone` string — 10 to 15 digits phone number.
    - `email` string
  - `shippingAddress` Address
    - `name` string, required — Contact Name or Business Name
    - `street1` string, required
    - `street2` string
    - `city` string
    - `province` string — 2 letter abbreviation of the province (AB, BC, CA). Required field if country is CAN or USA.
    - `country` string — 3-letter abbreviation of the country (CAN, USA)
    - `postalCode` string, required
    - `phone` string — 10 to 15 digits phone number.
    - `email` string
  - `cards` object[] — Array of cards stored in the vault associated with this customer.
    - `cardHolderName` string — The card holder name.
    - `cardF6L4` string — The F6L4 of card.
    - `cardToken` string — Card token

## Other responses

- `default` — Failed

---

[API](https://skmtc.net/helcim/apis/the-helcim-api.md) · [All operations](https://skmtc.net/helcim/apis/the-helcim-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helcim/the-helcim-api/versions/345052ca6578/schema)
