Membrane React - v0.6.0
Console
SDK
REST API
Preparing search index...
useCustomers
Function useCustomers
useCustomers
(
query
?:
{
isTest
?:
boolean
;
limit
?:
number
;
cursor
?:
string
;
search
?:
string
;
}
,
)
:
{
customers
:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
[]
;
items
:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
[]
;
refresh
:
()
=>
Promise
<
void
>
;
refreshing
:
boolean
;
loadMore
:
()
=>
Promise
<
void
>
;
loadingMore
:
boolean
;
loading
:
boolean
;
error
:
any
;
}
Parameters
Optional
query
:
{
isTest
?:
boolean
;
limit
?:
number
;
cursor
?:
string
;
search
?:
string
}
Returns
{
customers
:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
[]
;
items
:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
[]
;
refresh
:
()
=>
Promise
<
void
>
;
refreshing
:
boolean
;
loadMore
:
()
=>
Promise
<
void
>
;
loadingMore
:
boolean
;
loading
:
boolean
;
error
:
any
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
SDK
REST API
Membrane React - v0.6.0
Loading...