Proposals - Update a proposal
PUT yourdomain.com/api/proposal/:id
Header
json
| Field | Type | Description |
|---|---|---|
| Authorization | String |
Basic Access Authentication token. |
Parameter
json
| Field | Type | Description |
|---|---|---|
| subject | String |
Mandatory. Proposal Subject Name. |
| string |
Proposal Related. Allowed values: |
|
| rel_id | Number |
Mandatory. Related ID. |
| proposal_to | string |
Mandatory. Lead / Customer name. |
| date | Date |
Mandatory. Proposal Start Date. |
| open_till | Date |
Optional. Proposal Open Till Date. |
| currency | string |
Mandatory. currency id. |
| discount_type | string |
Optional. Proposal Open Till Date. |
| status | string |
Optional. status id. |
| Assigned | string |
Optional. Assignee id. |
| string |
Mandatory. Email id. |
|
| newitems | Array |
Mandatory. New Items to be added. |
| items | Array |
Optional. Existing items with Id |
| removed_items | Array |
Optional. Items to be removed |
HTTP/1.1 200 OK
{
"status": false,
"message": "Proposal Updated Successfully"
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Proposal Update Fail"
}