Shopify Refund Order Item With Note
Refunds a specific line item from a Shopify order and attaches a note to the refund record. Like the basic refund action, it works by monetary amount rather than structured line-item refund.
What it does
- Looks up the order by its visible order number.
- Calls the Calculate Refund endpoint using the specified line item.
- Creates the refund with the calculated transaction and the provided note.
- Notifies the customer about the refund.
Notes
- Requires exactly one order to match the given order number.
- Items are not restocked by this action.
- The note is stored on the Shopify refund record and visible in the admin.
Inputs
| Name | Type | Description |
|---|---|---|
| Shopify Subdomain | Credentials | Store subdomain |
| Shopify Token | Credentials (sensitive) | Admin API access token |
| Order Number | String | Visible order number |
| Line Item ID | String | ID of the specific line item to refund |
| Amount to Refund | String | Monetary amount (ignored when Full Refund is true) |
| Full Refund? | Boolean | When true, uses the maximum refundable amount |
| Refund Note | String | Note to attach to the refund (e.g. reason for refund) |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the refund was created |