All Release Notes
Added key to Cart
22 December 2020
Composable Commerce
HTTP API
Enhancement
Deprecation
CartsOrders
Additionally to identifying Carts by their id, it is now possible to use key as a user-defined identifier for the list of operations below. This gives you more flexibility when referencing Carts from commercetools-external systems.
- [API] Added optional
keyfield to Cart and CartDraft. - [API] Added Get a Cart by Key method.
- [API] Added Update a Cart by Key method.
- [API] Added Delete a Cart by Key method.
- [API] Added Get a Cart in a Store by Key method.
- [API] Added Update a Cart in a Store by Key method.
- [API] Added Delete a Cart in a Store by Key method.
- [API] Added SetKey update action.
- [API] Added Replicate a Cart by Key method.
- [API] Added
cartfield to OrderFromCartDraft. - [API] Deprecated the
idfield in OrderFromCartDraft in favor of thecartfield.