All Release Notes
New field origin on cart and order
1 February 2018
Composable Commerce
HTTP API
Enhancement
CartsOrders
Until now it was assumed that carts and orders are created by customers themselves only, but to reflect the case of creating carts and orders by the merchants on behalf of customers also, we introduced a new field tracking the origin of a Cart and an Order.
- [API] Added enumeration CartOrigin.
- [API] Added field
origin
to Cart that can be set during creation of the cart. - [API] Added field
origin
to Order that is taken over from the cart or set during import of the order.