Skip to main content

Get Order Refunds

GET 

/api/shopify/:integrationInstance/orders/:order/refunds

Lazy-load order refunds with line items, shipping lines, and adjustments.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Sales credits from refunds: each synced Shopify refund also produces a sales credit on the linked sales order — one line per refunded product line, plus a separate non-product line described "Shipping refund" (no sales_order_line_id, posted to the integration's shipping refund nominal code) when the refund paid shipping money back. Any refund discrepancy Shopify reports is shared between the product lines and the shipping by subtotal, and no line goes below zero, so the credit totals the money actually refunded. The credit's metadata records shipping_refund_subtotal (shipping refunded by Shopify) and shipping_refund_credited (amount of the Shipping refund line). A refund that returns only shipping, with no product lines, creates no credit. A refund for units that are already fully credited is not credited again; a note on the sales order says why.

Request​

Responses​

OK

Response Headers
    Content-Type