Skip to main content
POST
Mark deal as lost

Authorizations

nonce
string
query
required

WordPress AJAX nonce — either sagescreen_frontend_nonce or sagescreen_sales_calc depending on the endpoint (see each endpoint description). Sent as a form field in the POST body.

Body

application/x-www-form-urlencoded
nonce
string
required
Example:

"abc123def456"

action
string
required
Allowed value: "sagescreen_mark_deal_lost"
deal_id
integer
required
Example:

1042

loss_reason
enum<string>
required

Categorized loss reason for sagescreen_mark_deal_lost

Available options:
price_was_too_high,
opted_for_a_competitor,
junk_lead,
not_interested,
client_requirement_not_met
loss_notes
string

Optional additional notes

Example:

"Customer chose CompetitorX due to existing relationship"

Response

Deal marked as lost

success
boolean
data
object