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.
returns:writeGrant 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
- 200
- 401
- 403
- 404
- 422
- 429
- 502
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.
Bad Gateway