All Release Notes
Audit Log now identifies changes made by Associates on Business Units, Orders, Quote Requests, and Quotes.
21 August 2023
Composable Commerce
HTTP API
Enhancement
B2BAudit LogCustomersQuotesOrdersGraphQL
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
associateIdto the Query Records endpoint. - [API] Added
associatefield to themodifiedByproperty of Record. - [API] Updated enum
typefield ofmodifiedByproperty of Record to includeassociateoption. - [GraphQL API] Changed the Query type:
- Added the
associateIdproperty to the following fields:businessUnits,businessUnit,orders,order,quotes,quote,quoteRequests,quoteRequest.
- Added the
- [GraphQL API] Changed the
ChangeHistorytype:- Added
associatefield tomodifiedByproperty ofChangeHistory.
- Added
- [GraphQL API] Changed the
ModifiedByTypeenum:- Added
associateoption.
- Added
The following change was introduced in terms of GraphQL SDL:
enum ModifiedByType {userexternalUserassociate}type Initiator {isPlatformClient: Boolean!id: Stringtype: ModifiedByType!customer: ReferenceanonymousId: StringclientId: Stringassociate: 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!}