What's new at ShopWired?
Automatically return stock for cancelled orders
A new setting has been added to the Order settings page labelled Automatically return stock for cancelled orders.
When enabled, any order that is updated to the default order status of Cancelled orders
will automatically have its stock returned. This applies to both standard products and bundle products, where stock will be returned for each constituent product.
The setting is available in ShopWired accounts on the Order settings, page in a new Other order settings section. By default, the setting is set to No
.
API support has also been introduced with a new /stock/return
endpoint. This requires an orderProductItemId
to identify the order product. If the stock return fails, an error message is returned.
This ensures stock is consistently managed when orders are cancelled, whether updated in the admin system, through the API, or when payment intents are voided through ShopWired Payments.