ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/delivery-notes/[id]/route
GET
Function GET
GET
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
client
:
{
addresses
:
{
city
:
string
|
null
;
country
:
string
|
null
;
id
:
string
;
postalCode
:
string
|
null
;
state
:
string
|
null
;
street
:
string
|
null
;
}
[]
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
deliveryLines
:
(
{
finishedProduct
:
|
{
clientProductCode
:
(...)
|
(...)
;
code
:
string
;
description
:
(...)
|
(...)
;
id
:
string
;
name
:
string
;
}
|
null
;
salesOrderLine
:
|
{
clientProductCode
:
(...)
|
(...)
;
deliveredQuantity
:
number
;
finishedProductId
:
(...)
|
(...)
;
id
:
string
;
quantity
:
number
;
remainingQuantity
:
number
;
totalPrice
:
number
;
unitPrice
:
number
;
}
|
null
;
}
&
{}
)
[]
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
labels
:
(
{
deliveryNote
:
|
{
client
:
{
addresses
:
...
;
name
:
...
}
;
deliveryDate
:
Date
;
id
:
string
;
number
:
string
;
salesOrder
:
(...)
|
(...)
;
}
|
null
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
)
[]
;
salesOrder
:
|
{
clientOrderNumber
:
string
|
null
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
id
:
string
;
lines
:
{
clientProductCode
:
string
|
null
;
finishedProductId
:
string
|
null
;
id
:
string
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
SalesOrderStatus
;
totalAmount
:
number
;
}
|
null
;
transporter
:
|
{
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
|
null
;
}
&
{}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
client
:
{
addresses
:
{
city
:
string
|
null
;
country
:
string
|
null
;
id
:
string
;
postalCode
:
string
|
null
;
state
:
string
|
null
;
street
:
string
|
null
;
}
[]
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
deliveryLines
:
(
{
finishedProduct
:
|
{
clientProductCode
:
(...)
|
(...)
;
code
:
string
;
description
:
(...)
|
(...)
;
id
:
string
;
name
:
string
;
}
|
null
;
salesOrderLine
:
|
{
clientProductCode
:
(...)
|
(...)
;
deliveredQuantity
:
number
;
finishedProductId
:
(...)
|
(...)
;
id
:
string
;
quantity
:
number
;
remainingQuantity
:
number
;
totalPrice
:
number
;
unitPrice
:
number
;
}
|
null
;
}
&
{}
)
[]
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
labels
:
(
{
deliveryNote
:
|
{
client
:
{
addresses
:
...
;
name
:
...
}
;
deliveryDate
:
Date
;
id
:
string
;
number
:
string
;
salesOrder
:
(...)
|
(...)
;
}
|
null
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
)
[]
;
salesOrder
:
|
{
clientOrderNumber
:
string
|
null
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
id
:
string
;
lines
:
{
clientProductCode
:
string
|
null
;
finishedProductId
:
string
|
null
;
id
:
string
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
SalesOrderStatus
;
totalAmount
:
number
;
}
|
null
;
transporter
:
|
{
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
|
null
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...