ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/stock/labels/print/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
printData
:
{
labels
:
{
id
:
string
;
barcode
:
string
;
qrCode
:
string
|
null
;
labelType
:
string
;
format
:
"21x7.4"
|
"7.4x7.4"
;
lotNumber
:
string
;
batchNumber
:
string
|
null
;
productName
:
string
;
productCode
:
string
;
expiryDate
:
Date
|
null
;
productionDate
:
Date
|
null
;
quantity
:
number
;
unit
:
string
;
category
:
string
;
}
[]
;
printerSettings
:
{
copies
:
number
;
orientation
:
"portrait"
|
"landscape"
;
}
;
format
:
"21x7.4"
|
"7.4x7.4"
;
printedAt
:
Date
;
printedBy
:
string
;
}
;
downloadUrl
:
string
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
printData
:
{
labels
:
{
id
:
string
;
barcode
:
string
;
qrCode
:
string
|
null
;
labelType
:
string
;
format
:
"21x7.4"
|
"7.4x7.4"
;
lotNumber
:
string
;
batchNumber
:
string
|
null
;
productName
:
string
;
productCode
:
string
;
expiryDate
:
Date
|
null
;
productionDate
:
Date
|
null
;
quantity
:
number
;
unit
:
string
;
category
:
string
;
}
[]
;
printerSettings
:
{
copies
:
number
;
orientation
:
"portrait"
|
"landscape"
;
}
;
format
:
"21x7.4"
|
"7.4x7.4"
;
printedAt
:
Date
;
printedBy
:
string
;
}
;
downloadUrl
:
string
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...