API reference / Platform customers
Set a customer's external reference
PATCH/v1/platforms/{orgId}/customers/{customerId}
Sets or clears external_ref, your own identifier for the customer. It must be unique among your active customers.
Before you call it
- Organization
platform (active) - Permission
platform:customers_manage
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
customerIdpath, uuidrequired | A customer organization linked to your platform. |
Request body
| Field | What it does |
|---|---|
external_refstringrequired | No description in the spec yet. |
Response 204
Updated
No body.
Errors to handle
| Code | What it means and what to do |
|---|---|
external_ref_exists409 | Another active customer of your platform already has this external_ref.The response's |
Every error is a Problem document. Branch on code; quote request_id to support.