---
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

---

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