Update a Part Price
put
/rest/v19/partSetups/{id}/prices/{priceId}
Use this endpoint to update a price for a CPQ part.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The unique identifier for the part.
-
priceId(required): integer
The unique identifier for a part price.
Root Schema : Part Prices Setup Create Request Definitions
Type:
objectTitle:
Show Source
Part Prices Setup Create Request Definitions-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
id:
integer
Title:
IdPrimary Key of the Resource -
price:
object Price
Title:
PricePrice of the part.
Nested Schema : Price
Type:
objectTitle:
PricePrice of the part.
Show Source
-
currency:
string
Title:
currency -
value:
number
Title:
value
Response
Supported Media Types
- application/json
Default Response
Examples
The following example shows how to update a price for a CPQ part by submitting a PUT request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X PUT -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/partSetups/38644116/prices/38852300
Request Body
{
"price": {
"value": 118.0,
"currency": "EUR"
}
}