ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/(protected)/sales/leads/hooks/use-leads
useCreateLead
Function useCreateLead
useCreateLead
()
:
UseMutationResult
<
LeadResponse
,
Error
,
{
code
?:
string
;
name
:
string
;
companyName
?:
string
;
phone
?:
string
;
email
?:
string
;
website
?:
string
;
source
?:
string
;
status
:
"CONVERTED"
|
"LOST"
|
"NEW"
|
"CONTACTED"
|
"QUALIFIED"
;
notes
?:
string
;
isActive
:
boolean
;
}
,
unknown
,
>
Returns
UseMutationResult
<
LeadResponse
,
Error
,
{
code
?:
string
;
name
:
string
;
companyName
?:
string
;
phone
?:
string
;
email
?:
string
;
website
?:
string
;
source
?:
string
;
status
:
"CONVERTED"
|
"LOST"
|
"NEW"
|
"CONTACTED"
|
"QUALIFIED"
;
notes
?:
string
;
isActive
:
boolean
;
}
,
unknown
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...