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