ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/warehouses/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
scannedCode
:
any
}
>
|
NextResponse
<
{
success
:
boolean
;
warehouse
:
{
id
:
string
;
code
:
string
;
name
:
string
;
address
:
string
|
null
;
city
:
string
|
null
;
isActive
:
boolean
;
label
:
string
;
totalLocations
:
number
;
locations
:
any
;
}
;
location
:
|
{
id
:
string
;
code
:
string
;
name
:
string
;
rack
:
string
|
null
;
level
:
string
|
null
;
position
:
string
|
null
;
status
:
string
;
label
:
string
;
}
|
null
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
details
:
string
}
>
,
>
POST /api/tablet/warehouses/scan
Scanner un code d'emplacement et récupérer l'entrepôt associé
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
scannedCode
:
any
}
>
|
NextResponse
<
{
success
:
boolean
;
warehouse
:
{
id
:
string
;
code
:
string
;
name
:
string
;
address
:
string
|
null
;
city
:
string
|
null
;
isActive
:
boolean
;
label
:
string
;
totalLocations
:
number
;
locations
:
any
;
}
;
location
:
|
{
id
:
string
;
code
:
string
;
name
:
string
;
rack
:
string
|
null
;
level
:
string
|
null
;
position
:
string
|
null
;
status
:
string
;
label
:
string
;
}
|
null
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
details
:
string
}
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
POST /api/tablet/warehouses/scan
Scanner un code d'emplacement et récupérer l'entrepôt associé