ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/work-orders/delivery/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
deliveryNote
:
{
client
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
;
deliveryLines
:
(
{
finishedProduct
:
{
code
:
...
;
id
:
...
;
name
:
...
}
|
null
;
salesOrderLine
:
|
{
deliveredQuantity
:
...
;
id
:
...
;
quantity
:
...
;
remainingQuantity
:
...
;
}
|
null
;
}
&
{}
)
[]
;
salesOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
}
|
null
;
transporter
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
;
message
:
string
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
deliveryNote
:
{
client
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
;
deliveryLines
:
(
{
finishedProduct
:
{
code
:
...
;
id
:
...
;
name
:
...
}
|
null
;
salesOrderLine
:
|
{
deliveredQuantity
:
...
;
id
:
...
;
quantity
:
...
;
remainingQuantity
:
...
;
}
|
null
;
}
&
{}
)
[]
;
salesOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
}
|
null
;
transporter
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
;
message
:
string
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...