ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/stock/labels/generate/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
labels
:
(
{
childLabels
:
{}
[]
;
equipment
:
{}
|
null
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
parentLabel
:
{}
|
null
;
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
reception
:
{
lines
:
(...)
[]
;
purchaseOrder
:
(...)
&
(...)
}
&
{}
|
null
;
stockLot
:
{}
|
null
;
workOrder
:
{}
|
null
;
}
&
{}
)
[]
;
count
:
number
;
stockMovements
:
{}
[]
;
stockMovementsCount
:
number
;
stockLots
:
{}
[]
;
stockLotsCount
:
number
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
labels
:
(
{
childLabels
:
{}
[]
;
equipment
:
{}
|
null
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
parentLabel
:
{}
|
null
;
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
reception
:
{
lines
:
(...)
[]
;
purchaseOrder
:
(...)
&
(...)
}
&
{}
|
null
;
stockLot
:
{}
|
null
;
workOrder
:
{}
|
null
;
}
&
{}
)
[]
;
count
:
number
;
stockMovements
:
{}
[]
;
stockMovementsCount
:
number
;
stockLots
:
{}
[]
;
stockLotsCount
:
number
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...