Return
Body
The webhook type.
"return"
The event that triggered the webhook.
"return.created"
"return.updated"
"return.closed"
The ID of the shop the return belongs to.
12345
The Loop return ID.
"1673"
The state of the return.
Possible values:
-
open: Requests have yet to be processed (Loop has not fully processed all the outcomes). -
cancelled: Refers to any return requests that have been cancelled in the Loop admin. -
closed: Typically refers to any return request/outcome that has been processed or closed manually. No further action is required for these returns. -
review: Refers to a return that has been flagged for review.
"open"
"cancelled"
"closed"
"review"
Whether the return is configured to refund before the items are inspected.
false
The date and time (ISO 8601 format) when the return was created in Loop.
"2019-04-01T12:00:00+00:00"
Date and time (ISO 8601 format) when the return was last edited inside Loop. null when the return has not been edited.
"2019-04-01T12:00:00+00:00"
null
The total cost of the return.
"48.81"
The Loop order ID.
"2871"
The order name from the commerce provider (e.g. Shopify).
"#47727779"
Whether taxes are included in the order's prices. Defaults to false.
false
The order ID from the commerce provider (e.g. Shopify).
"58997314"
The order number from the commerce provider (e.g. Shopify).
"7078"
The order number from the commerce provider (e.g. Shopify).
8078
The external order ID from the commerce provider (e.g. Shopify). null when the order has no external identifier.
"12354567890"
null
The name of the sales channel that the order was created in.
"Example Online Store"
null
The email address of the customer.
"me@myself.com"
The customer's email, first name, and last name.
The original customer's shipping address or the address that the customer inputs in the case of a gift return.
The currency of the store at the time of the order.
"USD"
The value of returned line items, excluding order discounts and taxes.
"50.00"
The sum of all discounts on returned items.
"5.00"
The value of order taxes on returned line items.
"2.50"
The return total after taxes and discounts.
"47.50"
The value of total return credit (product + honored discount + tax).
"47.50"
The link to the return status page.
"https://example.loopreturns.com/#/return/b3e4764e-7adf-4b8c-802a-553305b6db49"
The value of exchange items before discounts and taxes.
"60.00"
The discount on exchange items.
"10.00"
The tax on exchange items.
"3.00"
The exchange total after taxes and discounts.
"53.00"
The total exchange items value after discounts and taxes, which is used by the customer.
"53.00"
The amount of store credit to be issued to the customer on a gift card.
"25.00"
The handling fee amount set in Loop admin.
"5.00"
The total refund value of the return.
"20.00"
The additional amount paid by customer when exchange credit total is greater than return credit total.
"10.00"
Whether or not the return is a gift return.
true
false
The breakdown of refunds across payment gateways.
Details on each label associated with the return.
Details on items being sent to Loop as part of the return.
Details about the product(s) being sent to the customer. This can be a result of an even exchange, replacements for returned items, or new purchases made through the app.
The Happy Returns shipment ID.
"SHIP-001"
The name of the carrier or N/A if the carrier has not yet been assigned.
"USPS"
"N/A"
The tracking number provided by the carrier or N/A if the carrier has not yet been assigned.
"28735625627856237856287"
"N/A"
Status of the shipment according to EasyPost:
- no shipment status
- pre_transit
- in_transit
- out_for_delivery
- delivered
- error
- failure
N/A if no label status has been provided yet.
"pre_transit"
"delivered"
The date and time (ISO 8601 format) when the last status update occurred.
N/A: label not yet updated.
"2025-11-07T01:47:42+00:00"
"N/A"
The Loop destination ID. null when the return has no destination.
2232
null
The commerce platform's numeric location ID for the return shipping destination
(the same destination as destination_id), when that destination has a linked Loop location.
null when no location is linked or when the return has no destination. This is separate from
line_items[].provider_location_id, which describes fulfillment/origin context per line item.
987654321
null
If the return is not being sent back through boxing and shipping, this field describes the way in which the item is being returned. These are usually pick-up or drop-off options.
The value that identifies the physical package that the return is in regardless if it was returned via box & ship or a different return method.
"PKG-12345"
The return type.
"standard"
"warranty"
Response
Return a 200 status to indicate that the data was received successfully