ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/locations/scan/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
location
:
{
id
:
string
;
code
:
string
;
name
:
string
;
rack
:
string
|
null
;
level
:
string
|
null
;
position
:
string
|
null
;
warehouse
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
}
;
status
:
string
;
isOccupied
:
boolean
;
totalQuantity
:
number
;
currentStock
:
{
id
:
string
;
quantity
:
number
;
unit
:
string
;
date
:
Date
;
reference
:
string
;
product
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
|
undefined
;
lotNumber
:
string
|
undefined
;
}
[]
;
summary
:
{
locationName
:
string
;
locationCode
:
string
;
warehouseName
:
string
;
rackInfo
:
string
;
status
:
string
;
occupiedQuantity
:
number
;
stockItemsCount
:
number
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
location
:
{
id
:
string
;
code
:
string
;
name
:
string
;
rack
:
string
|
null
;
level
:
string
|
null
;
position
:
string
|
null
;
warehouse
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
}
;
status
:
string
;
isOccupied
:
boolean
;
totalQuantity
:
number
;
currentStock
:
{
id
:
string
;
quantity
:
number
;
unit
:
string
;
date
:
Date
;
reference
:
string
;
product
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
|
undefined
;
lotNumber
:
string
|
undefined
;
}
[]
;
summary
:
{
locationName
:
string
;
locationCode
:
string
;
warehouseName
:
string
;
rackInfo
:
string
;
status
:
string
;
occupiedQuantity
:
number
;
stockItemsCount
:
number
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...