---
title: "Upsert Customer"
method: PUT
path: "/v1/customer"
---

# Upsert Customer

`PUT /v1/customer`

Create or update a customer

## Request body

- object
  - `id` string
  - `metadata` object

## Response `200`

Successful response

- CoreCustomerSelect
  - `org_id` string, required
  - `id` string, required
  - `api_key` string, nullable, required
  - `metadata` union, required
    - string
    - number
    - boolean
    - object
    - unknown[]
      - unknown
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

## Changes

- **2025-08-26** `8939526af685` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrations/apis/openint-api/changes/v1/customer/put.md)

---

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