Skip to main content

List Loop Returns

GET 

/api/loop-returns/returns

Lists the Loop returns mirrored into SKU.io, newest first, paginated.

Required scope: returns:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Each return carries: id (SKU.io id), loop_return_id, order_name / shopify_order_id (the Shopify order Loop names), shopify_order_url (that order in the Shopify admin; null when the Loop settings name no Shopify store and the tenant has more than one), sales_order_id / sales_order_number (the matched SKU.io sales order), customer, return_type, Loop state, carrier / tracking_number, destination_id, warehouse_id / warehouse_name (the receiving warehouse of the linked RMA), rma_id / rma_number / rma_status, match_status / match_note (how and whether it linked to an RMA), outcome_status (pending until the warehouse receives the return, then processing, processed, flagged or failed), outcome_at, outcome_error, total, currency, line_count, unresolved_line_count (lines whose SKU matches no product), exchange_order_name / exchange_sales_order_id (the exchange order once it syncs from Shopify), status_page_url (the customer's Loop status page), loop_admin_url, loop_created_at and loop_updated_at.

Filters (flat filter[column] = is, or filter[column.operator]):

  • filter[search] — id (exact), Loop return id, order name, customer name and email, tracking number, line SKU
  • Text operators (is, is_not, contains, does_not_contain, starts_with, does_not_start_with, ends_with, does_not_end_with, is_one_of, is_not_one_of, is_empty, is_not_empty) on: loop_return_id, order_name, customer_name, customer_email, outcome_status, return_type, state, match_status, carrier, tracking_number, destination_id, currency, rma_number, sku, linked
  • Numeric operators on: id, total
  • Date operators (is, before, after, on_or_before, on_or_after, between, today, past_days, past_week and similar) on: loop_created_at, loop_updated_at, outcome_at, created_at
  • filter[linked] — 1 for returns attached to an RMA, 0 for those not attached yet
  • filter_groups — base64-encoded JSON condition tree for compound AND/OR filtering over the same columns

Allowed sorts: id, loop_created_at, total, outcome_status, state. Prefix with - for descending. Default: -loop_created_at.

Pagination: page and per_page (default 10).

Returns 404 with a message when the account has no Loop Returns connection.

Authentication: Requires a Bearer token with the returns scope (read for GET, write for the others).

Request​

Responses​

OK

Response Headers
    Content-Type