ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/warehouses/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
data
:
{
id
:
string
;
name
:
string
;
code
:
string
;
subtitle
:
string
|
undefined
;
isActive
:
boolean
;
address
:
string
|
null
;
city
:
string
|
null
;
postalCode
:
string
|
null
;
country
:
string
|
null
;
locations
:
any
;
_count
:
{
stockLocations
:
number
;
stockMovements
:
number
}
;
}
[]
;
total
:
number
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
details
:
string
}
>
,
>
GET /api/tablet/warehouses
Récupérer la liste des entrepôts pour la tablette
Avec leurs emplacements de stock
Filtrable par isActive
Optimisé pour la sélection dans les formulaires
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
data
:
{
id
:
string
;
name
:
string
;
code
:
string
;
subtitle
:
string
|
undefined
;
isActive
:
boolean
;
address
:
string
|
null
;
city
:
string
|
null
;
postalCode
:
string
|
null
;
country
:
string
|
null
;
locations
:
any
;
_count
:
{
stockLocations
:
number
;
stockMovements
:
number
}
;
}
[]
;
total
:
number
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
details
:
string
}
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/tablet/warehouses
Récupérer la liste des entrepôts pour la tablette