9 July 2025
Carts
When creating a Cart in a Store, if the referenced Customer (specified in
CartDraft.customerId
) does not exist, the Carts API now returns a 400 Bad Request error with the InvalidInput code. Previously, the API returned a 404 Not Found error in this scenario.This change ensures the error response provides clearer feedback to developers and makes debugging easier.