Sourcepoint has extended the functionality of the IAB's CCPA API to offer your organization additional commands that can be used with the __uspapi() function call. This provides a level of consistency and feature overlap between the IAB CCPA API and custom function integrations.
The getCustomVendorRejects command enables your organization to retrieve a list of categories and vendors an end-user has rejected.
The JSON object response is in two parts. The first part is a list of purpose names and their IDs an end-user has rejected. The second part is a list of vendor names, their IDs and types the end-user has rejected. There is a flag that indicates if CCPA rules apply for current situation
This data can then be parsed and the appropriate measures can be taken.
The rejectedCategories section lists the purpose ids and purpose names rejected by the end-user. The purposes are listed as follows:
The legal basis set for this purpose - consent, legitimate interest, not allowed, disclosure only