Skip to main content
DELETE
/
v1
/
customers
/
{customerId}
Node.js
import { PriceOS } from "priceos";
import type { MyFeatures } from "./priceos.types";

const priceos = new PriceOS<MyFeatures>(process.env.PRICEOS_API_KEY!);

const result = await priceos.customers.delete("customer_123");
{
  "id": "<string>"
}

Headers

x-api-key
string
required

API key from your PriceOS dashboard.

Path Parameters

customerId
string
required

Internal customer ID.

Response

Customer deleted

Deleted customer record.

id
string
required

Deleted customer record ID.