Update target data.
Update spend data and Code of Conduct status for the specified target.
Required Permission: update_supplier_data
Path parameters
The system ID is an identifier to determine from which the targetId might originate from. Supported systemIds are "prewave", "customer", "supplier", "own".
The target ID can be the target's prewaveId or an external id (edge number) representing the site in another system.
Request body
Example request
{
"year": 2025,
"spendDataMlnEuro": 0.15
}Response
Target data updated successfully. Returns the full updated target payload.
Example response
{
"id": 102006215,
"name": "Høyanger",
"sname": "3191281",
"description": "Description shown in the target profile",
"location": "Mistelbach",
"yearFounded": 1999,
"screened": true,
"screenedStatus": "Screened",
"linkedInId": "general-motors",
"ctype": {
"id": 1234,
"ctype": "mine",
"targetTypeId": 1234,
"displayName": "Mine",
"pluralName": "Mines",
"icon": "fas fa-mine",
"bgColor": "#ff0000",
"textColor": "#ffffff"
},
"foreignSystems": [
{
"id": "1234",
"source": "SAP_ARIBA"
}
]
}Changes
Changed in 2 of the 10 revisions of this API.22
- ○
response property
earliestAlertdeprecatedresponse-property-deprecated
- ○
- ▲
the response property
/became nullable for the statusresponse-property-became-nullable
- ▲
the response property
/became optional for the statusresponse-property-became-optional
- ○
response property
ctype/prioritydeprecatedresponse-property-deprecated
- ▲