ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/labels/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
label
:
{
id
:
string
;
code
:
string
;
type
:
string
;
quantity
:
number
;
unit
:
string
|
null
;
lotNumber
:
string
|
null
;
position
:
string
|
null
;
createdAt
:
Date
;
}
;
stockLot
:
|
{
id
:
string
;
lotNumber
:
string
;
quantity
:
number
;
unit
:
string
;
}
|
null
;
product
:
{
type
:
string
;
id
:
string
;
code
:
string
;
name
:
string
}
|
null
;
}
,
>
,
>
POST /api/tablet/labels
Créer une nouvelle étiquette (pour tablette)
Peut être liée à un StockLot existant
Ou créer un nouveau lot
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
label
:
{
id
:
string
;
code
:
string
;
type
:
string
;
quantity
:
number
;
unit
:
string
|
null
;
lotNumber
:
string
|
null
;
position
:
string
|
null
;
createdAt
:
Date
;
}
;
stockLot
:
|
{
id
:
string
;
lotNumber
:
string
;
quantity
:
number
;
unit
:
string
;
}
|
null
;
product
:
{
type
:
string
;
id
:
string
;
code
:
string
;
name
:
string
}
|
null
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
POST /api/tablet/labels
Créer une nouvelle étiquette (pour tablette)