Update Loop Returns Settings
PUT/api/loop-returns/settings
Saves how Loop returns behave in SKU.io and returns the connection summary. Fields you leave out keep their current value; destination_warehouse_map, flag_on_grades, auto_match and auto_process_on_receipt must always be sent.
returns:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body fields:
shopify_integration_instance_id(integer, optional, nullable) — the Shopify store whose orders Loop returns belong to. Null matches orders from any Shopify storedestination_warehouse_map(array, required, may be empty, max 200) — which warehouse receives each Loop destinationdestination_warehouse_map[].destination_id(string, required, max 255, unique within the map) — a Loop destination id (the connection lists those seen indestinations)destination_warehouse_map[].warehouse_id(integer, required) — an existing warehouse iddefault_warehouse_id(integer, optional, nullable) — the warehouse for destinations that are not mappedauto_match(boolean, required) — link new Loop returns to an RMA automaticallyauto_process_on_receipt(boolean, required) — once the warehouse receives every item of a linked return, ask Loop to process it (Loop then issues the refund, exchange or store credit)flag_on_grades(array of strings, required, may be empty) — condition grades (A,B,C,unsellable) that make SKU.io flag the return in Loop for review instead of processing itrestock_disabled_confirmed(boolean, optional) — confirms Loop's own Shopify restocking is turned off
Returns 422 with field errors when validation fails. 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). Requires the integrations.update permission.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
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.