ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/materials/finished-products/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProducts
:
(
{
_count
:
{
invoiceLines
:
number
;
salesOfferLines
:
number
;
salesOrderLines
:
number
;
stockLots
:
number
;
stockMovements
:
number
;
workOrders
:
number
;
}
;
category
:
{
code
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
client
:
|
{
code
:
string
;
currency
:
{
code
:
...
;
id
:
...
;
symbol
:
...
}
|
null
;
id
:
string
;
name
:
string
;
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
salesTax
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
rate
:
number
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
unitOfProduction
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
unitOfSale
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProducts
:
(
{
_count
:
{
invoiceLines
:
number
;
salesOfferLines
:
number
;
salesOrderLines
:
number
;
stockLots
:
number
;
stockMovements
:
number
;
workOrders
:
number
;
}
;
category
:
{
code
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
client
:
|
{
code
:
string
;
currency
:
{
code
:
...
;
id
:
...
;
symbol
:
...
}
|
null
;
id
:
string
;
name
:
string
;
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
salesTax
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
rate
:
number
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
unitOfProduction
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
unitOfSale
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...