opportunities
Update an opportunity
Changed oncustom.FIELD_ID (optional)
- See description for custom.FIELD_ID in POST /opportunity/ above.
- Additionally, you can unset a single field by using { "custom.FIELD_ID": null }, e.g.:
{ "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": null }
If you're trying to update a custom field and that custom field accepts multiple values, you can also specify .add or .remove as part of the field key to add/remove a single value to/from a list of values, e.g.:
{ "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" }
put/opportunity/{id}/
Request
- Base URLhttps://api.close.com/api/v1
- URLhttps://api.close.com/api/v1/opportunity/{id}/
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://app.close.com/oauth2/authorize/Token URL: https://api.close.com/oauth2/token/
Path parameters
idstring required
Request body
Response
Successful response
Changes
- info
added the pattern property
^custom\.(cf|lcf|ccf|acf|gcf|scf)_[A-Za-z0-9]+$to the response body for the status
- info
- breaking
added the pattern property
^custom\.(cf|lcf|ccf|acf|gcf|scf)_[A-Za-z0-9]+(\.(add|remove))?$to the request body - info
removed the pattern property
^custom\.from the request body
- breaking