ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/sales/orders/planification/[id]/check-materials/route
POST
Function POST
POST
(
req
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
hasBOM
:
boolean
;
productsWithoutBOM
:
string
[]
;
message
:
string
;
materialChecks
:
never
[]
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
hasBOM
:
boolean
;
allMaterialsAvailable
:
boolean
;
materialChecks
:
any
[]
;
missingMaterials
:
string
[]
;
}
,
>
,
>
Parameters
req
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
hasBOM
:
boolean
;
productsWithoutBOM
:
string
[]
;
message
:
string
;
materialChecks
:
never
[]
;
}
,
>
|
NextResponse
<
{
success
:
boolean
;
hasBOM
:
boolean
;
allMaterialsAvailable
:
boolean
;
materialChecks
:
any
[]
;
missingMaterials
:
string
[]
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...