| id |
required |
string |
The id of the try. |
| client.id |
required |
relation:"clients.id" |
The ID of the client that the try is for. |
| product.id |
required |
relation:"products.id" |
The ID of the product that was tried. |
| quantity |
required |
integer |
The total number of the products attempted to sell. |
| value |
required |
money |
The total value of the products attempted to sell. |
| closer.id |
required |
relation:"employees.id" |
The ID of the employee to be used as the "closer" of the try. |
| employee_splits[].employee.id |
required |
relation:"employees.id" |
The ID of the employee that should be linked to this try. |
| employee_splits[].ratio |
required |
number |
The amount of credit that should be attributed to the employee. Eg: 1 for 100% credit or 0.5 for 50% credit. |
| tried_at |
required |
date |
The date of the try. |
| remarks |
optional |
string |
The notes that should be attached to this try. |