Ana içeriğe atla
POST
Create a lead lost reason

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
name
string
gerekli

The name, unique among the clinic's lost reasons.

Maximum string length: 255
color
string | null

A hex color code (e.g. #94a3b8).

Pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
is_other
boolean | null

Marks the catch-all reason ("Diğer"); leads lost with it may carry a free-text description.

is_active
boolean | null

Inactive reasons are no longer offered when marking a lead lost. Defaults to true.

position
integer | null

The display order, ascending. Defaults to the end of the list.

Gerekli aralık: 0 <= x <= 100000

Yanıt

success
string
gerekli
data
LeadLostReasonResource · object
gerekli