Sales Agreement Product (PUT)

Add or update products and their pricing and attribute details in a sales agreement.

60.0

PUT

The org must have Revenue Management for Sales Agreements enabled. The running user must have Manufacturing Cloud access to the product catalog feature and permission to update sales agreements, with the appropriate object and field permissions for Sales Agreement, Sales Agreement Product, Product, Price Book, and Price Book Entry.

Configure pricing for sales agreements, including the default pricing context definition. Use an active price book entry for the product in the specified price book. If pricing isn’t configured, the response can return isSuccess as false with a pricing error.

NameTypeDescriptionRequired or OptionalAvailable Version
salesAgreementIdStringID of the sales agreement in which to add or update products.Required60.0

Here’s an example of a request to add a product to a sales agreement:

Here’s an example of a request that includes a product attribute:

All request properties are optional in the API schema. To add products, provide at least one salesAgreementProductDetails entry with product2Id, pricebookEntryId, initialPlannedQuantity, and salesPrice.

NameTypeDescriptionRequired or OptionalAvailable Version
pricebook2IdStringThe ID of the price book associated with the sales agreement.Optional60.0
salesAgreementProductDetailsSales Agreement Product Details Input[]The details of the sales agreement product.Optional60.0

Sales Agreement Product Management Response