Order Cancellation Management

intermediate medium risk Order Management

Description

Handle order cancellations with refund processing and inventory restoration

Prerequisites

  • Payment gateway integration
  • Inventory management system
  • Cancellation policies defined

Parameters

cancellationReason

String*

Reason for order cancellation

processRefund

Boolean

Process automatic refund

Default: true

restoreInventory

Boolean

Restore inventory for cancelled items

Default: true

notifyCustomer

Boolean

Send cancellation notification to customer

Default: true

batchSize

Number

Number of orders to process per batch

Default: 50

Script Code

order-cancellation-management.groovy

Script Information

Author:SAP Commerce Expert
Execution Time:15-45 minutes
Rating:4.4/5
Downloads:680
Last Updated:2024-01-06
Version:1.6.0

Tags

cancellation refund inventory-restoration