Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.
discountnumberDiscount percentage (0-100). Cannot be used with TotalPrice.
quantityRequirednumberThe quantity of the product to add.
unit_pricenumberThe sales price per unit. If not specified, uses the standard price from the pricebook entry.
descriptionstringOptional description for this line item.
total_pricenumberThe total price for this line item. Cannot be used with UnitPrice or Discount.
service_datestringService date for the product in YYYY-MM-DD format.
custom_fieldsobjectDictionary of custom field API names and their values. Custom field names typically end with '__c'.
opportunity_idRequiredstringThe Salesforce ID of the opportunity to add a product to.
pricebook_entry_idRequiredstringThe ID of the PricebookEntry that contains the product and price information. This links to a specific product in a specific pricebook. Entry must be active and match the opportunity's pricebook and currency; mismatches cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY…
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.