Skip to main content

Process Loop Return

POST 

/api/loop-returns/returns/:loopReturn/process

Asks Loop to process the return. Loop then issues the refund, exchange or store credit to the customer and confirms by webhook. The return's outcome_status becomes processing until Loop confirms (processed) or reports a failure (failed). When auto_process_on_receipt is on, SKU.io sends this itself once the warehouse receives every item.

Required scope: returns:write

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

No request body.

Errors (each carries message and the return's current detail in data):

  • 422 — the return cannot be processed now (cancelled in Loop, already closed, still processing), Loop refused it (for example, Loop will not process a flagged return), or Loop Returns is not connected
  • 502 — Loop could not be reached; try again later
  • 404 — the Loop return does not exist

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

Request​

Responses​

OK

Response Headers
    Content-Type