All Release Notes

Audit Log now tracks changes on Store's Product Selections

1 December 2022
Composable Commerce
HTTP API
Enhancement
Product catalogAudit Log

We have extended the abilities of Audit Log to include tracking of changes made on a Store's Product Selections. With this enhancement, all Product Selection-related Changes performed on Stores are tracked from now on and these Changes are now retrievable via API.

Changes:

  • [API] Added support for update actions addProductSelection, removeProductSelection, and changeProductSelectionActive on Stores.
  • [GraphQL API] Added addProductSelection, removeProductSelection, and changeProductSelectionActive to StoreChangeInput.
  • [GraphQL API] Added addProductSelection, removeProductSelection, and changeProductSelectionActive to ResourceChangeInput.
  • [GraphQL API] Added productSelection field to StoreChange.

The following changes were introduced in terms of GraphQL SDL:

enum StoreChangeInput {
...
changeProductSelectionActive
addProductSelection
removeProductSelection
}
enum ResourceChangeInput {
...
changeProductSelectionActive
addProductSelection
removeProductSelection
}
type StoreChange implements Change {
...
productSelection: Reference
}