All Release Notes

Audit Log now identifies changes made by Associates on Business Units, Orders, Quote Requests, and Quotes.

21 August 2023
Enhancement
B2BSecurityCustomersQuotesOrdersGraphQL

We have extended the capabilities of Audit Log to identify changes made by Associates in the context of a Business Unit.

To help you filter Records, we've added the associateId query parameter to the Query Records endpoint. This allows you to filter Records by key for the following resource types: business-units, orders, quote-requests, and quotes.

Changes:

  • [API] Added query parameter associateId to the Query Records endpoint.
  • [API] Added associate field to the modifiedBy property of Record.
  • [API] Updated enum type field of modifiedBy property of Record to include associate option.
  • [GraphQL API] Changed the Query type:
    • Added the associateId property to the following fields: businessUnits, businessUnit, orders, order, quotes, quote, quoteRequests, quoteRequest.
  • [GraphQL API] Changed the ChangeHistory type:
    • Added associate field to modifiedBy property of ChangeHistory.
  • [GraphQL API] Changed the ModifiedByType enum:
    • Added associate option.

The following change was introduced in terms of GraphQL SDL:

enum ModifiedByType {
user
externalUser
associate
}
type Initiator {
isPlatformClient: Boolean!
id: String
type: ModifiedByType!
customer: Reference
anonymousId: String
clientId: String
associate: Reference
}
extend type Query {
businessUnits(
associateId: String
): ChangeHistoryQueryResults!
businessUnit(
associateId: String
): ChangeHistoryQueryResults!
orders(
associateId: String
): ChangeHistoryQueryResults!
order(
associateId: String
): ChangeHistoryQueryResults!
quotes(
associateId: String
): ChangeHistoryQueryResults!
quote(
associateId: String
): ChangeHistoryQueryResults!
quoteRequests(
associateId: String
): ChangeHistoryQueryResults!
quoteRequest(
associateId: String
): ChangeHistoryQueryResults!
}