create_refund
Create refunds for Shopify orders by specifying line items, shipping amounts, and payment transactions. Handles restocking and multiple payment methods for partial or full reimbursements.
Instructions
Create a refund for an order. Supports refunding line items, shipping costs, and processing refunds through different payment methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Refund note | |
| orderId | Yes | Order ID | |
| transactions | No | Transaction details | |
| shippingAmount | No | Shipping amount to refund | |
| refundLineItems | No | Line items to refund |