For requests that have many attributes, managing them with the individual endpoints can be slow, particularly during creation. This endpoint provides a way to set them all at once.
Accepts a JSON body like the following:
{ "opportunityAttributes": [ {"opportunityAttributeId": 500722, "attributeValue": "Lorem ipsum dolor est..."}, {"opportunityAttributeId": 500787, "attributeValue": null}, {"opportunityAttributeId": 501186, "attributeValue": "2020-01-01"} ] }
New attributes will be created.
Existing attributes will be updated if the attributeValue has changed.
Existing attributes absent in the body will be deleted.
That last point is important to note. If using this endpoint for bulk updates, the full set of opportunity attributes for an action must be sent.
Param name | Description |
---|---|
requestId
required |
The requestId of the request Validations:
|
actionId
required |
The actionId of the specific action Validations:
|
opportunityAttributes
optional |
Array of Opportunity Attributes Validations:
|
opportunityAttributes[opportunityAttributeId]
required |
Validations:
|
opportunityAttributes[attributeValue]
optional |
Validations:
|
OK
Param name | Description |
---|