Magidoc

deleteOpportunityLines
Mutation

Permanently removes the given lines from an opportunity, then recomputes percentage discounts and syncs the opportunity amount unless it was manually overridden or a primary proposal supplies it.

Access: workspace members with CRM access. Errors: opportunity or any line not found.

Arguments

#

opportunityId

ID !
Non-null

lineIds

[ID !]!
Non-null

Response

#

Returns Opportunity !.

Example

#