Discount percentage (0-100). Cannot be used with TotalPrice.
quantitynumber
Required
The quantity of the product to add.
unit_pricenumber
The sales price per unit. If not specified, uses the standard price from the pricebook entry.
descriptionstring
Optional description for this line item.
total_pricenumber
The total price for this line item. Cannot be used with UnitPrice or Discount.
service_datestring
Service date for the product in YYYY-MM-DD format.
custom_fieldsobject
Dictionary of custom field API names and their values. Custom field names typically end with '__c'.
opportunity_idstring
Required
The Salesforce ID of the opportunity to add a product to.
pricebook_entry_idstring
Required
The 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…
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not