Install

Works with Drupal: ^9.4 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 84.94 KB
MD5: 75b3a65ae19d050d5c060d6f4a3e1ade
SHA-1: f8cfa8d167c5888dc1d86e053ff4445bd507035b
SHA-256: d254b520e1be51ec8cc7d906ce77ebe3abdb9a45701876b39c058498e4c3ab9b
Download zip 175.52 KB
MD5: b231c8cf182609321acf28f12a998d8e
SHA-1: d6ab272294be7eca401c4c5eca215383e6c050ab
SHA-256: 84d498f20eedb52d7cacfd9e4ab4aeb2d82559aae027ca5ce203ee5ac7b35183

Release notes

This release ensures the availability of order items is validated when their quantity is updated through the cart API.

Changes since 8.x-1.0-rc7

  • Validate the availability of order items when updating their quantity, regardless of field access. The PATCH /jsonapi/carts/{order}/items/{order_item} endpoint now always reports availability (e.g. stock) violations, even when the customer can't edit the purchased entity of the order item. Custom resources can reuse the new \Drupal\commerce_api\OrderItemValidationTrait::validateOrderItem() helper.
  • #3622072: Set the cart flag on the second order in tests.
Created by: jsacksick
Created on: 28 Oct 2026 at 11:40 UTC
Last updated: 28 Oct 2026 at 11:40 UTC
Bug fixes

Other releases