ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/finished-products/[id]/prices/route
GET
Function GET
GET
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
prices
:
{
id
:
string
;
quantity
:
number
;
unitPrice
:
number
;
pricePerMultiplier
:
number
;
multiplier
:
number
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
notes
:
string
|
null
;
startDate
:
Date
;
endDate
:
Date
|
null
;
}
[]
;
selectedPrice
:
|
{
id
:
string
;
quantity
:
number
;
unitPrice
:
number
;
pricePerMultiplier
:
number
;
multiplier
:
number
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
notes
:
string
|
null
;
}
|
null
;
}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
prices
:
{
id
:
string
;
quantity
:
number
;
unitPrice
:
number
;
pricePerMultiplier
:
number
;
multiplier
:
number
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
notes
:
string
|
null
;
startDate
:
Date
;
endDate
:
Date
|
null
;
}
[]
;
selectedPrice
:
|
{
id
:
string
;
quantity
:
number
;
unitPrice
:
number
;
pricePerMultiplier
:
number
;
multiplier
:
number
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
}
|
null
;
notes
:
string
|
null
;
}
|
null
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...