Method of Write-off for Full, Partial Return, or Deletion of an Order
In the API V9Preview7, it became possible to obtain the method of write-off for full, partial return, or deletion of an order.
Two new notifications were added:
RemovalTypeSelectedis used to notify the plugin about the reason for the write-off of an order that is being fully returned or a canceled order is being deleted. If one of the subscribed plugins throws anOperationCanceledException, the further operation will be canceled.PartialOrderItemsRemovalTypeSelectedis used to notify the plugin about the reason for the write-off when performing a partial return of items in the order. If one of the subscribed plugins throws anOperationCanceledException, the further operation will be canceled.