Process customer refund requests following company policy. Use when a customer requests a refund, return, exchange, money back, or store credit for an order.
Follow these steps when processing a refund request.
get_order with the order ID.create_refund with the order ID, refund amount, and reason.update_order_status to set the order status to refund_pending.For gift orders, subscriptions, or multiple-item refunds, consult refund policy for the specific rules before proceeding.