--- title: Enhanced handling of large quantities in the Carts API update endpoint - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/enhanced-handling-of-large-quantities-in-the-carts-api-update-endpoint md: https://shopify.dev/changelog/enhanced-handling-of-large-quantities-in-the-carts-api-update-endpoint.md --- [Back to Developer changelog](https://shopify.dev/changelog) May 9, 2024 Tags: * Liquid # Enhanced handling of large quantities in the Carts API update endpoint When handling requests with exceptionally large quantities (exceeding 1,000,000), the `update` endpoint of the Carts API previously capped the value to 1,000,000 and returned a `200/OK` status without notifying the user. We have now modified this behavior. While the `update` endpoint will continue to limit the quantity to 1,000,000, it will also issue a `422/Unprocessable Entity` status alerting the API users to the adjustment. The endpoint will not perform any additional quantity checks against inventory levels; this aspect remains consistent with previous functionality.