upsertOpportunityLines Mutation
Adds or edits priced lines (products, services, discounts) on an opportunity; lines with an existing _id are updated, others are created, and unlisted lines are left alone. Recomputes percentage discounts and fees and syncs the opportunity amount unless it was manually overridden or a primary proposal supplies it.
Access: workspace members with CRM access. Errors: opportunity not found, currency mismatch, invalid discount, fee, weeks or billing rule, catalog capacity exceeded.
Arguments
#
Response
#
Returns Opportunity !.
Example
#
Previous
upsertHighwayHandoff
Next
upsertPersonsByEmail