---
title: "Set customer data"
method: PUT
path: "/api/customers/{customer_id}/data"
tags: ["Customers"]
---

# Set customer data

`PUT /api/customers/{customer_id}/data`

Set a customer's data.

## Path parameters

- `customer_id` integer, required

## Request body

- object
  - `version` string, nullable — The date of the customer data. If we already have a more recent version, the request will be ignored.
  - `data` unknown, required

## Response `202`

An empty response.

## Other responses

- `301` — Customer was merged with another one.

---

[API](https://skmtc.net/gorgias/apis/gorgias-rest-api.md) · [All operations](https://skmtc.net/gorgias/apis/gorgias-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gorgias/gorgias-rest-api/versions/36f2e31f4e81/schema)
