All Release Notes

Changed endpoints to get cart by customer id

27 January 2020
Enhancement
CustomersDeprecation

To streamline the API design, the endpoint to get a cart by customer ID has been changed. For this, the customer ID is now specified as segment of the URI path and no longer as query parameter. For backwards compatibility the previous format is still in operation, but has now been deprecated.

  • [API] Changed the Get a Cart by Customer ID endpoint.
  • [API] Changed the Get a Cart in a Store by Customer ID endpoint.
  • [API] Deprecated the query parameter ?customerId={id} on /carts endpoints.
Copyright © 2021 commercetools