ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/bills-of-material/[id]/route
PUT
Function PUT
PUT
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
rawMaterial
:
|
{
code
:
string
;
cost
:
number
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
rawMaterial
:
|
{
code
:
string
;
cost
:
number
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...