Retry an item cancel with the same key to finish it without cancelling or refunding twice. 1 to 400 characters. A whole-order cancel is safe to retry without one.
Units to cancel and refund, up to 250 lines, leaving the rest to ship. Omit to cancel the whole order. Units that would leave nothing on the group cancel the whole order. Only marketplaces that can cancel single items allow it (Shopify today); others return ITEM_CANCEL_NOT_SUPPORTED.
Email the customer about the cancel. Defaults to false for a whole order and true for items, as in the app.
Why the order is cancelled. Used when the whole order is cancelled. Defaults to OTHER.
Refund the customer. Defaults to true. Cancelling single items always refunds them, so false returns REFUND_REQUIRED.