ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/logistics/labels/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProducts
:
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
category
:
{
id
:
string
;
name
:
string
}
|
null
;
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
weight
:
number
|
null
;
totalStock
:
number
;
stockLots
:
{
id
:
string
;
lotNumber
:
string
;
batchNumber
:
string
|
null
;
quantity
:
number
;
unit
:
string
;
expiryDate
:
Date
|
null
;
productionDate
:
Date
|
null
;
isActive
:
boolean
;
createdAt
:
Date
;
currentStock
:
number
;
stockLabels
:
(
|
{
id
:
...
;
barcode
:
...
;
labelType
:
...
;
quantity
:
...
;
unit
:
...
;
isPrinted
:
...
;
createdAt
:
...
;
isStockLabel
:
...
;
}
|
{
id
:
...
;
barcode
:
...
;
labelType
:
...
;
quantity
:
...
;
unit
:
...
;
isPrinted
:
...
;
createdAt
:
...
;
isStockLabel
:
...
;
position
:
...
;
consumedAt
:
...
;
consumedQuantity
:
...
;
}
)
[]
;
_count
:
{
stockMovements
:
number
;
stockLabels
:
number
}
;
}
[]
;
labels
:
(
{
stockLot
:
|
{
expiryDate
:
...
;
id
:
...
;
lotNumber
:
...
;
productionDate
:
...
;
quantity
:
...
;
unit
:
...
;
}
|
null
;
workOrder
:
{
id
:
...
;
manufacturingOrder
:
...
;
number
:
...
}
|
null
;
}
&
{}
)
[]
;
totalLabels
:
number
;
totalLots
:
number
;
}
[]
;
total
:
number
;
page
:
number
;
limit
:
number
;
totalPages
:
number
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProducts
:
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
category
:
{
id
:
string
;
name
:
string
}
|
null
;
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
weight
:
number
|
null
;
totalStock
:
number
;
stockLots
:
{
id
:
string
;
lotNumber
:
string
;
batchNumber
:
string
|
null
;
quantity
:
number
;
unit
:
string
;
expiryDate
:
Date
|
null
;
productionDate
:
Date
|
null
;
isActive
:
boolean
;
createdAt
:
Date
;
currentStock
:
number
;
stockLabels
:
(
|
{
id
:
...
;
barcode
:
...
;
labelType
:
...
;
quantity
:
...
;
unit
:
...
;
isPrinted
:
...
;
createdAt
:
...
;
isStockLabel
:
...
;
}
|
{
id
:
...
;
barcode
:
...
;
labelType
:
...
;
quantity
:
...
;
unit
:
...
;
isPrinted
:
...
;
createdAt
:
...
;
isStockLabel
:
...
;
position
:
...
;
consumedAt
:
...
;
consumedQuantity
:
...
;
}
)
[]
;
_count
:
{
stockMovements
:
number
;
stockLabels
:
number
}
;
}
[]
;
labels
:
(
{
stockLot
:
|
{
expiryDate
:
...
;
id
:
...
;
lotNumber
:
...
;
productionDate
:
...
;
quantity
:
...
;
unit
:
...
;
}
|
null
;
workOrder
:
{
id
:
...
;
manufacturingOrder
:
...
;
number
:
...
}
|
null
;
}
&
{}
)
[]
;
totalLabels
:
number
;
totalLots
:
number
;
}
[]
;
total
:
number
;
page
:
number
;
limit
:
number
;
totalPages
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...