Sales Agreement Product Details Input

Input representation of a product and its pricing, quantity, and attribute details for a sales agreement.

JSON Example 

1{
2  "product2Id": "01tAAC0000ADt2cYBD",
3  "pricebookEntryId": "01uAAC00000nRggYBE",
4  "initialPlannedQuantity": 10,
5  "salesPrice": 4500,
6  "discountPercentage": 5,
7  "salesAgreementProductAttributeDetails": [
8    {
9      "attributeDefinitionName": "Color",
10      "attributeValue": "Red",
11      "isPriceImpacting": false
12    }
13  ]
14}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
discountPercentageDoublePercent of discount offered on the sales price.Optional60.0
guidancePriceDoubleThe guidance price that’s calculated using the pricing rules.Optional60.0
initialPlannedQuantityDoubleThe total quantity of the product that you initially plan to sell across the sales agreement term.Optional60.0
lastPricingExecIdentifierStringThe unique identifier for the last price waterfall information.Optional60.0
pricebookEntryIdStringThe ID of the price book entry associated with the sales agreement product.Optional60.0
product2IdStringThe ID of the product in the sales agreement product.Optional60.0
salesAgreementProductAttributeDetailsSales Agreement Product Attribute Details Input[]The details of the sales agreement product attribute.Optional60.0
salesAgreementProductIdStringThe ID of the sales agreement product. Specify this ID when updating an existing product in the sales agreement.Optional60.0
salesPriceDoublePrice per unit at which you initially decide to sell the product.Optional60.0