ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/work-orders/[id]/stock-production/route
POST
Function POST
POST
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
labelsCreated
:
number
;
stockLotsCreated
:
number
;
labels
:
{
id
:
string
;
barcode
:
string
;
qrCode
:
string
|
null
;
lotNumber
:
string
;
quantity
:
any
;
unit
:
string
;
productCode
:
string
;
productName
:
string
;
unitWeight
:
number
;
clientName
:
string
;
}
[]
;
rack
:
{
id
:
string
;
code
:
string
;
name
:
string
;
warehouse
:
string
}
;
message
:
string
;
}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
labelsCreated
:
number
;
stockLotsCreated
:
number
;
labels
:
{
id
:
string
;
barcode
:
string
;
qrCode
:
string
|
null
;
lotNumber
:
string
;
quantity
:
any
;
unit
:
string
;
productCode
:
string
;
productName
:
string
;
unitWeight
:
number
;
clientName
:
string
;
}
[]
;
rack
:
{
id
:
string
;
code
:
string
;
name
:
string
;
warehouse
:
string
}
;
message
:
string
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...