---
title: "Update"
method: PATCH
path: "/customers/{merchant_user_id}/update"
---

# Update

`PATCH /customers/{merchant_user_id}/update`

## Request

- Base URL: `https://restapi.ordergroove.com`
- URL: `https://restapi.ordergroove.com/customers/{merchant_user_id}/update`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Updates an individual customer's extra data or locale.

## Path parameters

- `merchant_user_id` string, required

## Request body

- object
  - `extra_data` string: Customer extra data
  - `locale` string: Customer locale (case insensitive, hyphens and dashes are interchangeable) e.g. 'fr-ca', 'es_ES'
  - `price_code` string: Customer price code

## Response `200`

200

- union
  - object
    - `extra_data` string
    - `locale` string
  - object
    - `extra_data` string
    - `locale` string

## Other responses

- `400`: 400
- `403`: 403

---

[API](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc.md) - [All operations](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/llms.txt) - [OpenAPI document](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/revisions/ba97e740d08c?raw)
