Changelog 2019-10-28
Minor In some cases, errors to the orders endpoints would return a blank error. This has been resolved.
Minor Deleting a relationship on a flow now sets the fields to null, not a blank array.
Minor In some cases, errors to the orders endpoints would return a blank error. This has been resolved.
Minor Deleting a relationship on a flow now sets the fields to null, not a blank array.
Minor Order CSV exports now include the instructions field from the shipping address.
Minor Fixed an issue where the formatted money was not being formatted for transaction responses.
Minor Return an error if a user tries to add a product to a cart that does not have a price in the supplied currency.
Minor Return an error if more than 10 filter parameters are applied to a request.
Minor Fixed a bug where adding a relationship field to some entity types could cause a 5xx response.
Major Added new methods, simple (default) and line, to calculate totals for carts and orders.
Minor Fixed a bug where a PUT to a cart item with a quantity of 0 would return a 404.
Minor Fixed a bug where passing mismatched IDs in the URL and body, or not passing an ID in the body would cause a 5xx error.
Minor You can now add a tax item at the same time you add a cart item. See Add Product to Cart or Add Custom Item to Cart and for tax item reference see Tax Items.
Minor Fixed bug where in some cases cart totals did not exactly reflect the order totals created after the cart was checked out. Cart totals and order totals now exactly match.
Minor Fixed bug where phone number associated with address would not update correctly on PUT.
Minor Cart items now returned with GET cart call.
Minor Adding a promo code to an empty cart now returns 422: "At least one product must be included in your cart to qualify for this offer".
Minor Adding the same promo code to a cart more than once returns 201 but ensures the code is applied only once.
Minor Updating a modifier no longer changes the child product IDs on rebuild.
Minor Added ability to update tax items (PUT) once added to a cart item.
Minor Improved the safety of carts using different currencies by rejecting requests which would mix up currencies. The following use cases apply:
GET a cart in a different currency than the items in the cart, then the currency header should be ignored. You should see it in the original currency.GET cart items in a different currency than the items in the cart, then the currency header should be ignored. You should see it in the original currency.Minor Fixed an issue with carts whereby changing the product quantity would change the order of cart items. This is now preserved.
Minor Added attribute validation so that only known events are accepted.
Minor DELETE calls are now rejected to remove a relationship from a collection for incorrectly formatted requests.
Minor Checkout call now returns order items in the response.
Major The architecture now incorporates Kubernetes.