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

NameTypeDescription
Shopify SubdomainCredentialsStore subdomain
Shopify TokenCredentials (sensitive)Admin API access token
Order NumberStringVisible order number
Line Item IDStringID of the specific line item to refund
Amount to RefundStringMonetary amount (ignored when Full Refund is true)
Full Refund?BooleanWhen true, uses the maximum refundable amount
Refund NoteStringNote to attach to the refund (e.g. reason for refund)

Outputs

NameTypeDescription
SuccessBooleanWhether the refund was created

API reference