Updating Supplier Custom Fields Using the Risk Category Information API for Supplier Risk Exposure
Use these steps to add custom field data to the existing suppliers in your risk solution.
Prerequisites
-
Best practice is to create a new draft version in the configuration editor, create your custom fields, and activate the draft version before executing your API updates. The configuration interface allows you to add up to 300 custom fields. The custom fields can contribute to the risk exposure, or they can be displayed as information only and not contribute to the risk exposure.
-
For each supplier, determine the SM Vendor ID as follows:
-
From the dashboard, navigate to SM Administration. Available paths depend on the groups to which your user belongs.
-
In sites that include SM Administration, members of the SM Ops Administrator, SM ERP Admin, or Customer Administrator group can select .
-
Members of the Supplier Risk Manager group can access SM Administration from the SAP Ariba Supplier Risk dashboard: click the gear-shaped settings icon, then choose .
-
-
Click Data import or export.
-
Depending whether you use SLP or SIPM, from the File type dropdown choose one of the following:
-
If you use SLP, choose Suppliers.
-
If you use SIPM, choose Suppliers from Sourcing.
-
-
Click Export to generate a CSV file. You can find the SM vendor ID for each vendor in this file.
-
Context
Once your SAP Ariba Supplier Risk configuration is complete and you have the SM Vendor IDs of all relevant suppliers, construct a client application as follows to update supplier custom field values.
Procedure
Results
On success, the response includes a 201 success code. Within SAP Ariba Supplier Risk the values specified in your PATCH /suppliers request are assigned to their respective custom fields. If you assign a new value to a custom field that already had a value, the new value replaces the old one.
On failure, the response includes an error message. See Risk Category Information API for Supplier Risk Exposure Custom Field Data Error Messages for a list of possible errors.

