Milestone Model

Represents the milestone of an opportunity that is stored in Capsule

Name Type Description
id Long

The unique id of the milestone.

name String Required

The name of the milestone.

description String

A longer description of this milestone and its purpose.

complete Boolean

Specify if opportunities under this milestone are closed or open. Defaults to false.

probability Integer Required

The default probability in percentage of winning an opportunity that progressed to this stage. Probability must be exactly 0 or 100 if complete is set to true.

daysUntilStale Integer

Number of days the opportunity can stay on the milestone or without contact on the opportunity before the opportunity is marked as stale. null indicates that stale opportunity tracking has been disabled for this milestone.

createdAt Date Read only

The date and time this milestone was created. This field is automatically set by Capsule and cannot be edited.

updatedAt Date Read only

The ISO DateTime when this opportunity was updated last time. This field is automatically set by Capsule and cannot be edited.