All Release Notes
Added the 'key' field to InventoryEntry
11 March 2022
Composable Commerce
HTTP API
Enhancement
GraphQLProduct catalog
InventoryEntry now supports the key
field. You can now retrieve, update, and delete InventoryEntry by user-defined key
.
Changes:
- [API] Added
key
field to InventoryEntry and InventoryEntryDraft. - [API] Added Get, Update, and Delete by Key methods to InventoryEntry.
- [API] Added Set Key update action to InventoryEntry.
- [GraphQL API] Changed the
Query
type:Query.inventoryEntry(id)
type changed fromString!
toString
Query.inventoryEntry(id)
description is changed- Argument
key
was added toQuery.inventoryEntry
field
- [GraphQL API] Changed the
Mutation
type:Mutation.updateInventoryEntry(id)
type changed fromString!
toString
Mutation.updateInventoryEntry(id)
description is changed- Argument
key
was added toMutation.updateInventoryEntry
field Mutation.deleteInventoryEntry(id)
type changed fromString!
toString
Mutation.deleteInventoryEntry(id)
description is changed- Argument
key
was added toMutation.deleteInventoryEntry
field