POST:orders/refund.json
POST:orders/refund.json
Description
Refund an order partially or fully.
Permission bit: "orders.refund"
Topic: Orders
Query Parameters
Unique order identifier. See also: Unique Identifiers
Example: ?order_id=or_EQzGqWoY
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Request Body
{ "customer_balance": 52600, "full_refund": false, "full_restock": false, "line_items": [ { "dest_inventory_location_id": "il_EQzGqWoY", "fulfillment_id": "fu_EQzGqWoY", "inventory_location_id": "il_EQzGqWoY", "line_item_id": "li_EQzGqWoY", "refund_amount": 768, "refund_fee": 234, "restock_quantity": 4, "variant_id": "va_EQzGqWoY" } ], "notify": false, "reason": "adjustment", "shipping": { "refund_amount": 657, "refund_fee": 234 }, "undo_coupon_usage": false }
Response Body
Response Body Type
Loading module