Update a Part Price
put
/rest/v16/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:
object
Title:
Show Source
Part Prices Setup Create Request Definitions
-
dateAdded:
string
Title:
Date Added
System field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date Modified
System field indicating the date on which the Resource was last modified. -
id:
integer
Title:
Id
Primary Key of the Resource -
price:
object Price
Title:
Price
Price of the part.
Nested Schema : Price
Type:
object
Title:
Price
Price 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 - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/partSetups/38644116/prices/38852300
Request Body
{ "price": { "value": 118.0, "currency": "EUR" } }