API Updates for August 15, 2024

API

We are happy to announce that the Cart and Checkout API now supports optimistic concurrency control. This feature helps prevent lost updates caused by concurrent requests overriding changes made by others. If the version number provided by an API client does not match the version on the server, the request will be rejected, allowing the client to handle it accordingly.

We added new formats for product codes upc, mpn, and gtin for Catalog V3 Products and Product variant APIs.

Themes

Updated the Product Recommendations (Beta) docs. We now have reference code for Cornerstone available to modify your Stencil theme when you request recommendations.

Bug Fixes

Corrected the Updated an order endpoint to specify that we remove discounts from line items changed in the request, not the whole order.

Enhancements

We created a Create a Bulk Pricing Rule endpoint for our documentation. Thanks @altugyavuz7.