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
associateId
to the Query Records endpoint. - [API] Added
associate
field to themodifiedBy
property of Record. - [API] Updated enum
type
field ofmodifiedBy
property of Record to includeassociate
option. - [GraphQL API] Changed the Query type:
- Added the
associateId
property to the following fields:businessUnits
,businessUnit
,orders
,order
,quotes
,quote
,quoteRequests
,quoteRequest
.
- Added the
- [GraphQL API] Changed the
ChangeHistory
type:- Added
associate
field tomodifiedBy
property ofChangeHistory
.
- Added
- [GraphQL API] Changed the
ModifiedByType
enum:- Added
associate
option.
- 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!}