Skip to main content
POST
Admin decline deal

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_decline_deal"
deal_id
integer
required
Example:

1042

reason
string
required

Reason for declining (required)

Example:

"Pricing is below the minimum margin threshold"

Response

Deal declined

success
boolean
data
object