Returns
Items a customer sends back: requested by the customer or created by staff, approved or declined, received, restocked and refunded.
Endpoints#
- GET
/returns.jsonList returns - GET
/returns/count.jsonCount returns - GET
/returns/{id}.jsonGet a return - GET
/orders/{order_id}/returns.jsonList an order's returns - POST
/orders/{order_id}/returns.jsonCreate a return - PUT
/returns/{id}.jsonUpdate a return - POST
/returns/{id}/approve.jsonApprove a return request - POST
/returns/{id}/decline.jsonDecline a return request - POST
/returns/{id}/receive.jsonMark a return as received - POST
/returns/{id}/close.jsonClose a return - POST
/returns/{id}/cancel.jsonCancel a return
Paths are relative to https://store.weftgrid.com/api/admin/2026-10. The examples read the token from $STORELOOM_TOKEN and ids from variables like $ORDER_ID.
The return object#
What the endpoints below return for one return, and the payload of the returns/request, returns/approve, returns/decline, returns/update, returns/close, returns/cancel webhooks.
{
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}List returns#
/returns.jsonread_returnsNewest last, like every list. Filter by status to find requests waiting for review (status=requested).
| Parameter | Description |
|---|---|
status | requested, open, declined, closed, cancelled or any (default). |
order_id | Only returns on this order. |
ids | Comma-separated return ids. |
created_at_min / created_at_max | ISO 8601 bounds on when the return was created. |
updated_at_min / updated_at_max | ISO 8601 bounds on the last change; use for incremental sync. |
limit, page_info, since_id | Pagination, as for every list (limit 1–250, default 50). |
fields | Comma-separated fields to return. |
curl "https://store.weftgrid.com/api/admin/2026-10/returns.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"returns": [
{
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
]
}Count returns#
/returns/count.jsonread_returns| Parameter | Description |
|---|---|
status, order_id, created_at_*, updated_at_* | Same filters as the list. |
curl "https://store.weftgrid.com/api/admin/2026-10/returns/count.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"count": 4
}Get a return#
/returns/{id}.jsonread_returnscurl "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}List an order's returns#
/orders/{order_id}/returns.jsonread_returnscurl "https://store.weftgrid.com/api/admin/2026-10/orders/$ORDER_ID/returns.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"returns": [
{
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
]
}Create a return#
/orders/{order_id}/returns.jsonwrite_returnsOpens a return for shipped items that haven't been refunded or returned. It starts approved (status open), whatever the store's return window. Each line takes line_item_id, quantity, reason (size_too_small, size_too_large, unwanted, not_as_described, wrong_item, defective, style, color, other) and an optional note; a line item can appear twice with different reasons. exchange_line_items (up to 20) makes it an exchange: each takes variant_id, quantity (default 1) and price (default: the variant's current price in the order's currency, at the order's market); any product that isn't archived or a gift card. refund_destination (original, the default, or store_credit) is where money goes that doesn't pay for exchange items; store_credit needs the order's customer. return_shipping_fee defaults to the store's (Settings → Returns). notify_customer (default false) emails the customer how to send the items back. Fires returns/approve.
{
"return": {
"return_line_items": [
{
"line_item_id": "cm2line0001",
"quantity": 1,
"reason": "size_too_large",
"note": "Customer called"
}
],
"exchange_line_items": [
{
"variant_id": "cm2vari0002",
"quantity": 1
}
],
"refund_destination": "original",
"return_shipping_fee": "6.00",
"note": "Swap for a smaller size",
"notify_customer": true
}
}curl -X POST "https://store.weftgrid.com/api/admin/2026-10/orders/$ORDER_ID/returns.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"return_line_items": [
{
"line_item_id": "cm2line0001",
"quantity": 1,
"reason": "size_too_large",
"note": "Customer called"
}
],
"exchange_line_items": [
{
"variant_id": "cm2vari0002",
"quantity": 1
}
],
"refund_destination": "original",
"return_shipping_fee": "6.00",
"note": "Swap for a smaller size",
"notify_customer": true
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": null,
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": null,
"tracking_number": null,
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": null,
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Update a return#
/returns/{id}.jsonwrite_returnsTracking for the parcel coming back (tracking_company, tracking_number, tracking_url; open returns only) and the staff note (any return). exchange_line_items replaces the exchange items ([] removes them) and refund_destination (original or store_credit) changes where money goes, while the return is requested or open and its exchange hasn't been processed. Fields you leave out keep their values. Fires returns/update when something changed.
{
"return": {
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"note": "Customer dropped it off on Friday",
"exchange_line_items": [
{
"variant_id": "cm2vari0002",
"quantity": 1,
"price": "58.00"
}
]
}
}curl -X PUT "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"note": "Customer dropped it off on Friday",
"exchange_line_items": [
{
"variant_id": "cm2vari0002",
"quantity": 1,
"price": "58.00"
}
]
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Approve a return request#
/returns/{id}/approve.jsonwrite_returnsA requested return becomes open. return_shipping_fee (optional) replaces the fee the request was made with, e.g. "0.00" to waive it. notify_customer (default false) emails how to send the items back. Fires returns/approve.
{
"return": {
"return_shipping_fee": "0.00",
"notify_customer": true
}
}curl -X POST "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID/approve.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"return_shipping_fee": "0.00",
"notify_customer": true
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Decline a return request#
/returns/{id}/decline.jsonwrite_returnsdecline_reason (required, up to 500 characters) is shown to the customer. notify_customer (default false) emails it. Its items can be asked for again. Fires returns/decline.
{
"return": {
"decline_reason": "This item was bought on final sale.",
"notify_customer": true
}
}curl -X POST "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID/decline.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"decline_reason": "This item was bought on final sale.",
"notify_customer": true
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "declined",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": "This item was bought on final sale.",
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": null,
"tracking_number": null,
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": null,
"declined_at": "2026-10-24T11:05:00.000Z",
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Mark a return as received#
/returns/{id}/receive.jsonwrite_returnsThe parcel arrived. With restock_location_id (an active location) or restock: true (the default location), its items go back into stock right away and closing the return won't restock them again. Without either, nothing is restocked yet. Fires returns/update and inventory_levels/update.
{
"return": {
"restock_location_id": "cm2locn0001"
}
}curl -X POST "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID/receive.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"restock_location_id": "cm2locn0001"
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "open",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": "cm2locn0001",
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": "2026-10-27T14:00:00.000Z",
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Close a return#
/returns/{id}/close.jsonwrite_returnsWith refund, the returned items are refunded (their price after discounts, with tax added on top) and the return closes. refund.amount defaults to that value minus the return's shipping fee, within what's left to refund; refund.refund_destination (original or store_credit) defaults to the return's; refund.restock (default true) restocks units that weren't restocked on arrival, at refund.location_id or the default location; refund.notify (default false) emails the refund. A return with exchange_line_items needs refund: the exchange items are added to the order (an order edit, holding their stock), the returned items' value (refund.amount) pays for them, and the rest is refunded to the destination. When they cost more, the order has a balance to pay (total_outstanding); the order must be paid in full beforehand. Without refund, the return closes as settled another way (credit given outside Weftstore): its items stay returned and aren't refunded; restock and location_id work the same. Fires returns/close, for a refund refunds/create, and for an exchange orders/edited.
{
"return": {
"refund": {
"amount": "52.00",
"refund_destination": "store_credit",
"restock": true,
"location_id": "cm2locn0001",
"notify": true
}
}
}curl -X POST "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID/close.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return": {
"refund": {
"amount": "52.00",
"refund_destination": "store_credit",
"restock": true,
"location_id": "cm2locn0001",
"notify": true
}
}
}'Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "closed",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": "cm2rfnd0001",
"refund_destination": "store_credit",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": "2026-10-27T14:00:00.000Z",
"closed_at": "2026-10-27T14:20:00.000Z",
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}Cancel a return#
/returns/{id}/cancel.jsonwrite_returnsCancels a requested or open return whose items haven't been received; they can be returned again. Fires returns/cancel.
curl -X POST "https://store.weftgrid.com/api/admin/2026-10/returns/$RETURN_ID/cancel.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"return": {
"id": "cm2rtrn0001",
"order_id": "cm2ordr0001",
"name": "#1031-R1",
"number": 1,
"status": "cancelled",
"customer_note": "The sleeves are a little long. Could I get the next size down?",
"decline_reason": null,
"note": null,
"currency": "USD",
"return_shipping_fee": "6.00",
"restock_location_id": null,
"tracking_company": "UPS",
"tracking_number": "1Z999AA10123456784",
"tracking_url": null,
"refund_id": null,
"refund_destination": "original",
"return_line_items": [
{
"id": "cm2rtli0001",
"line_item_id": "cm2line0001",
"product_id": "cm2prod0001",
"variant_id": "cm2vari0001",
"title": "Linen shirt",
"variant_title": "M / Sand",
"sku": "LINEN-M-SND",
"price": "58.00",
"quantity": 1,
"reason": "size_too_large",
"note": null,
"restocked_quantity": 0
}
],
"exchange_line_items": [
{
"id": "cm2rtex0001",
"variant_id": "cm2vari0002",
"product_id": "cm2prod0001",
"title": "Linen shirt",
"variant_title": "S / Sand",
"sku": "LINEN-S-SND",
"price": "58.00",
"quantity": 1,
"line_item_id": null
}
],
"requested_at": "2026-10-24T09:30:00.000Z",
"approved_at": "2026-10-24T11:05:00.000Z",
"declined_at": null,
"received_at": null,
"closed_at": null,
"created_at": "2026-10-24T09:30:00.000Z",
"updated_at": "2026-10-25T08:12:00.000Z"
}
}