# Update customer (https://developer.godaddy.com/en/docs/references/rest/customers/commerce-customers-update)

---
title: Update customer
description: >-
  This endpoint can be used to update the information of a specific customer
  using the store and customer ID.
full: true
---

## PATCH /stores/{storeId}/customers/{customerId}

Update customer

This endpoint can be used to update the information of a specific customer using the store and customer ID.

### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `customerId` | string <uuid> | yes | The id of the specific customer |
| `storeId` | string <uuid> | yes | An identifier for a store |

### Request body (required)

Customer data to import

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/CustomerUpdate`

### Responses

**202** — A CUSTOMER_UPDATE action was successfully created

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/CustomerActionResponse`

**401** — Authentication info not sent or is invalid

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/Error`

**403** — Authenticated user is not allowed access

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/Error`

**404** — Resource not found

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/Error`

**409** — Application-specific server state error

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/Error`

**422** — Body or query string failed schema validation. Returns the `ValidationError` envelope rather than the generic `Error`.

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ValidationError`

**429** — Too many requests received within interval

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/ErrorLimit`

**500** — Internal server error

Content-Type: `*/*`

Schema:

- schema reference: `#/components/schemas/Error`

**Security:** requires `PAT`; scopes `commerce.customer:update`.
