Create a Part Price
post
                    /rest/v19/partSetups/{id}/prices
Use this endpoint to create a price for the specified CPQ part.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id(required): integer
                    
                    The unique identifier for the part.
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
Root Schema : Part Price Setup Children Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Part Price Setup Children Instance 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
Examples
The following example shows how to create prices for the specified CPQ part by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/partSetups/38644116/prices
Request Body
{
  "price": {
    "value": 50.0,
    "currency": "USD"
  }
}Request Body
{
  "price": {
    "value": 50.0,
    "currency": "USD"
  },
  "dateModified": "2023-03-07T17:44:44.000Z",
  "id": 38852265,
  "dateAdded": "2023-03-07T17:44:44.000Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/prices/38852265"
    }
  ]
}