All Release Notes
Audit Log now identifies changes linked to a specific Business Unit for Orders, Quote Requests, and Quotes.
13 September 2023
Composable Commerce
HTTP API
Enhancement
B2BAudit LogQuotesOrdersGraphQL
We have extended the capabilities of Audit Log to help you identify changes made to individual Business Units.
To help you filter Records, we've added the businessUnit query parameter to the Query Records endpoint. This allows you to filter Records by key for three specific resource types: orders, quote-requests, and quotes.
Changes:
- [API] Added query parameter
businessUnitto the Query Records endpoint. - [API] Added
businessUnitfield to Record. - [GraphQL API] Added
KeyReferencetype. - [GraphQL API] Changed the
ChangeHistorytype:- Added
businessUnitfield toChangeHistory.
- Added
- [GraphQL API] Added
businessUnitquery parameter fororders,order,quotes,quote,quoteRequests,quoteRequestqueries.
The following change was introduced in terms of GraphQL SDL:
type KeyReference {key: String!typeId: String!}type ChangeHistory {...businessUnit: KeyReference}extend type Query {orders(businessUnit: String): ChangeHistoryQueryResults!order(businessUnit: String): ChangeHistoryQueryResults!quotes(businessUnit: String): ChangeHistoryQueryResults!quote(businessUnit: String): ChangeHistoryQueryResults!quoteRequests(businessUnit: String): ChangeHistoryQueryResults!quoteRequest(businessUnit: String): ChangeHistoryQueryResults!}