Create Deal Close Reason
POST /deals/close-reasons
Add a close reason.
ENTRY GATE: _REASON_MUTATE_PERMISSIONS, the SAME route dependency the app
declares - wider than the manager tier (a rep may extend the list inline
while closing their own deal) but NOT open to org members with no deal
access. can_manage is still resolved for the handler; may_seed is now
enforced by the route gate rather than discarded.
Authorizations
Parameters
Header Parameters
Request Body required
Add a close reason.
Adding one is gated on _REASON_MUTATE_PERMISSIONS (the app’s own route
gate): deliberately wider than the manager tier - a rep extends the list
inline while closing their own deal - but NOT open to org members with no
deal access. REMOVING one carries the same entry gate plus a creator-or-
manager check, because manager-only removal would make every rep’s typo
permanent and org-wide.
object
Which list this reason belongs to, e.g. won or lost.
Responses
201
Successful Response
object
Whatever the operation returns, carried through whole.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error