Getting audit trail details

Use GET /v3/reports/audit-trail/vendor/{vendorId} to get audit trail details about changes made to a vendor object. The audit trail lists records for each create and edit operation.

See Get audit trail details for a vendor in the API reference for more information.

Sample request

In this cURL example, an audit trail of 5 results is requested for the specified vendorId. includeArchived is set as true to include archived results in the response.

curl --request GET \
--url '{vendorId}?includeArchived=true&max=5' \
--header 'content-type: application/json' \
--header 'devKey: {developer_key}' \
--header 'sessionId: {session_id}'


In the response, an audit trail of each create and update operation is available for the specified vendor.