ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/purchase-orders/[id]/duplicate/route
POST
Function POST
POST
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
lines
:
(
{
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
;
unitOfMeasure
:
{
code
:
...
;
id
:
...
;
name
:
...
}
|
null
;
}
;
}
&
{}
)
[]
;
supplier
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
}
&
{}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
lines
:
(
{
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
;
unitOfMeasure
:
{
code
:
...
;
id
:
...
;
name
:
...
}
|
null
;
}
;
}
&
{}
)
[]
;
supplier
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...