All Release Notes
Audit Log now tracks changes on Product Selections
12 July 2022
Composable Commerce
HTTP API
Enhancement
Audit LogProduct catalogGraphQL
We have extended the capabilities of Audit Log to include the tracking of changes made on Product Selections. With this enhancement, all Changes performed on Product Selections are tracked from now on and these Changes are now retrievable via API.
Changes:
- [API] Added the
view_product_selections:{projectKey}
scope. - [API] Added
product-selection
to ChangeHistoryResourceType. - [API] Added AddProductChange.
- [API] Added RemoveProductChange.
- [API] Added SetProductCountChange.
- [GraphQL API] Added the following types to the graphQL schema:
ProductSelectionChangeInput
. - [GraphQL API] Added queries
productSelection
andproductSelections
. - [GraphQL API] Added
ProductSelection
to the ResourceType enum.
Additional changes:
- [API] Added SetAuthenticationModeChange for
customers
. - [API] Added SetLineItemDeactivatedAtChange for
shopping-lists
. - [API] Added SetLineItemProductKeyChange for
orders
. - [API] Added SetProductSelectionsChange for
stores
. - [GraphQL API] Added SetAuthenticationModeChange to
CustomerChangeInput
- [GraphQL API] Added SetLineItemDeactivatedAtChange for
ShoppingListChangeInput
- [GraphQL API] Added SetLineItemProductKeyChange for
OrderChangeInput
- [GraphQL API] Added SetProductSelectionsChange for
StoreChangeInput
The following change was introduced in terms of GraphQL SDL:
productSelections(date: DateRangelimit: Intoffset: Intsource: Sourcetype: TypeclientId: StringuserId: StringcustomerId: Stringchanges: [ProductSelectionChangeInput!]expand: Booleanstores: [String!]): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_product_selections])productSelection(id: String!date: DateRangelimit: Intoffset: Intsource: Sourcetype: TypeclientId: StringuserId: StringcustomerId: Stringchanges: [ProductSelectionChangeInput!]expand: Booleanstores: [String!]): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_product_selections])enum ProductSelectionChangeInput {setKeychangeNamesetCustomTypesetCustomFieldsetProductCountaddProductremoveProduct}