# Deal model
Deals are entities for keeping track of your sales. You can manage them through API.
# Properties
| Attributes | Type | Description |
|---|---|---|
| id | integer | A unique identifier for the deal which is given by User.com automatically. |
| deal_id | string | A unique identifier for the deal which is provided by the client. |
| activities_status | string | A status of an activity assigned to the user. |
| assigned_to | integer | A unique identifier for the agent which is given by User.com automatically. |
| company | integer | A unique identifier for the company which is given by User.com automatically. |
| created_at | string | A creation date of a deal. |
| currency | string | A currency of a deal. |
| expected_close_date | string | A date when the deal is expected to be closed. |
| loss_reason | integer | A reason for a lost deal. |
| lost_at | string | A date when the deal has been marked as lost. |
| name | string | A deal name. |
| participants | integer | A list of persons assigned to a deal. |
| pipeline | integer | An id of a pipeline where the deal is assigned to. |
| products | integer(list) | A list of products' ids. |
| stage | integer | An id of a stage of the pipeline the deal is currently at. |
| status | integer | A status of your deal (0 - abandoned, 1 - in progress, 2 - won, 3 - lost, 4 - archived) |
| tags | string | A list of tags. |
| updated_at | string | A date of last deal update. |
| person | integer | A unique identifier for the user which is given by User.com automatically. |
| value | string | A value of a deal. |
| won_at | string | A date when the deal has been marked as won. |