ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/sales/offers/[id]/route
PUT
Function PUT
PUT
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
|
{
client
:
|
{
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
type
:
string
;
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
currency
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
}
|
null
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
key
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
finishedProduct
:
|
{
code
:
string
;
id
:
string
;
index
:
string
|
null
;
name
:
string
;
referenceNumber
:
string
|
null
;
}
|
null
;
lead
:
|
{
code
:
string
;
companyName
:
string
|
null
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
|
null
;
lines
:
(
{
finishedProduct
:
|
{
code
:
...
;
description
:
...
;
id
:
...
;
name
:
...
;
}
|
null
;
tax
:
{
code
:
...
;
id
:
...
;
name
:
...
;
rate
:
...
}
|
null
;
unitOfMeasure
:
{
code
:
...
;
id
:
...
;
name
:
...
;
symbol
:
...
}
|
null
;
}
&
{}
)
[]
;
opportunity
:
|
{
id
:
string
;
name
:
string
;
number
:
string
;
stage
:
BusinessOpportunityStage
;
status
:
OpportunityStatus
;
}
|
null
;
seriesPriceTiers
:
{}
[]
;
}
&
{}
|
null
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
|
{
client
:
|
{
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
type
:
string
;
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
currency
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
}
|
null
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
key
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
finishedProduct
:
|
{
code
:
string
;
id
:
string
;
index
:
string
|
null
;
name
:
string
;
referenceNumber
:
string
|
null
;
}
|
null
;
lead
:
|
{
code
:
string
;
companyName
:
string
|
null
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
|
null
;
lines
:
(
{
finishedProduct
:
|
{
code
:
...
;
description
:
...
;
id
:
...
;
name
:
...
;
}
|
null
;
tax
:
{
code
:
...
;
id
:
...
;
name
:
...
;
rate
:
...
}
|
null
;
unitOfMeasure
:
{
code
:
...
;
id
:
...
;
name
:
...
;
symbol
:
...
}
|
null
;
}
&
{}
)
[]
;
opportunity
:
|
{
id
:
string
;
name
:
string
;
number
:
string
;
stage
:
BusinessOpportunityStage
;
status
:
OpportunityStatus
;
}
|
null
;
seriesPriceTiers
:
{}
[]
;
}
&
{}
|
null
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...