---
title: "Update Customer Details"
method: PATCH
path: "/api/v1/customers/{id}"
tags: ["Customer"]
---

# Update Customer Details

`PATCH /api/v1/customers/{id}`

This API is used to update the customer details.

## Path parameters

- `id` string, required — Customer ID

## Query parameters

- `sandbox` string, required — Indicate whether using sandbox mode to perform action, value is either 'true' or 'false'

## Request body

- UpdateCustomerDto
  - `firstName` string — First name of the customer.
  - `lastName` string — Last name of the customer.
  - `dateofBirth` string — Date of birth of the customer.
  - `street` string — Street name of customer address.
  - `city` string — City name of customer address.
  - `state` string — State name of customer address.
  - `country` string — Country name of customer address.
  - `postalCode` string — Postal code of customer address.
  - `status` string — Customer status. Can be `A` - Active, `I` - Inactive

## Response `200`

Customer updated.

- object
  - `statusCode` number
  - `message` string
  - `data` object — Customer object. See https://securo.readme.io/reference/customer-object for more information.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden Resources

---

[API](https://skmtc.dev/securo/apis/securo-api.md) · [All operations](https://skmtc.dev/securo/apis/securo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/securo/securo-api/revisions/6cdab218fa72/schema)
