ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/purchases/receptions/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
lines
:
(
{
purchaseOrderLine
:
{
rawMaterial
:
{
code
:
...
;
id
:
...
;
name
:
...
;
unitOfMeasure
:
...
}
;
}
&
{}
;
}
&
{}
)
[]
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
;
supplier
:
{
addresses
:
{
city
:
string
|
null
;
country
:
string
|
null
;
street
:
string
|
null
;
}
[]
;
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
}
;
}
&
{}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
lines
:
(
{
purchaseOrderLine
:
{
rawMaterial
:
{
code
:
...
;
id
:
...
;
name
:
...
;
unitOfMeasure
:
...
}
;
}
&
{}
;
}
&
{}
)
[]
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
;
supplier
:
{
addresses
:
{
city
:
string
|
null
;
country
:
string
|
null
;
street
:
string
|
null
;
}
[]
;
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
}
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...