Write-off method for full, partial return or order deletion
[v9preview7
v9
]
In API V9Preview7, the ability to get the write-off method for full, partial return or order deletion has appeared.
Two new notifications were added:
RemovalTypeSelectedis used to notify the plugin of the reason for writing off the order on which a full return or deletion of a voided order is being performed. If one of the subscribed plugins throws anOperationCanceledException, the further operation will be cancelled.PartialOrderItemsRemovalTypeSelectedis used to notify the plugin of the reason for write-off when a partial return of items in the order is performed. If one of the subscribed plugins throws anOperationCanceledException, the further operation will be cancelled.