Skip to main content
POST
Add internal comment to 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_add_deal_comment"
deal_id
integer
required
Example:

1042

comment
string
required

Comment body (required)

Example:

"Spoke with the customer - they need a revised quote by Friday."

Response

Comment added

success
boolean
data
object