---
title: "Update one consumer"
method: PATCH
path: "/consumers/{consumer_id}"
tags: ["Consumers"]
---

# Update one consumer

`PATCH /consumers/{consumer_id}`

Update one consumer in Chift

## Path parameters

- `consumer_id` string, uuid, required

## Request body

- UpdateConsumerItem
  - `name` string, nullable — Name of the consumer as it will appear in your Chift platform. This name may be used for automated communications, such as automatic mailings if you enable this feature.
  - `email` string, nullable — Optional - Email address of the consumer. It can be used for sending automated reminders (if feature enabled) and deployment by mail of local agent (when on-premise connector).
  - `internal_reference` string, nullable — Your internal reference for the client (e.g., customer ID or unique identifier in your system).
  - `redirect_url` string, nullable — URL to redirect the user after completing the activation via our link. Useful for directing customers to a dynamic or personalized url. You can also set up a default static URL in Chift's back office for all consumers.

## Response `200`

Successful Response

- ConsumerItem
  - `consumerid` string, uuid, required — Unique id of the consumer in Chift
  - `name` string, required — Name of the consumer as it will appear in your Chift platform. This name may be used for automated communications, such as automatic mailings if you enable this feature
  - `email` string, nullable — Optional - Email address of the consumer. It can be used for sending automated reminders (if the feature is enabled) and deployment by mail of local agent (when on-premise connector).
  - `internal_reference` string, nullable — Your internal reference for the client (e.g., customer ID or unique identifier in your system).
  - `redirect_url` string, nullable — URL to redirect the user after completing the activation via our link. Useful for directing customers to a dynamic or personalized url. You can also set up a default static URL in Chift's back office for all consumers.

## Other responses

- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
