Propose an inspection outcome (never authoritative)
const url = 'https://api-omni-vendors.linra.net/api/v1/scent/returns/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/inspection/propose';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"outcome":"AcceptedDefect"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api-omni-vendors.linra.net/api/v1/scent/returns/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/inspection/propose \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "outcome": "AcceptedDefect" }'Records your own PROPOSED outcome — Linra’s assessment is always decisive; this never
transitions the request’s status or triggers execution. A proposed Rejected flags the
request for staff review. Rejected with BUSINESS_RETURN_INSPECTION_EVIDENCE_REQUIRED
unless at least one photo has already been uploaded via addVendorReturnEvidence.
Requires the request to currently be UnderInspection
(BUSINESS_RETURN_REQUEST_INVALID_TRANSITION otherwise). Same ownership scope as
markVendorReturnReceived. Requires the Orders capability.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The return request id.
Request Bodyrequired
Section titled “Request Bodyrequired”Your own PROPOSED outcome — never authoritative. Linra’s assessment is always decisive.
object
A genuine defect (AcceptedDefect), a sound/changed-mind item (AcceptedSound), or Linra rejects the return outright (Rejected, e.g. opened/used with no defect found).
Responses
Section titled “Responses”The return request, vendor-safe, with your proposal recorded.
object
object
Deliberately EXCLUDES the reselling partner’s identity (PartnerId — Linra’s B2B2B relationship, not yours), every internal-staff identity, and every cost-attribution/custody/ carrier-claim fact — the same “does a vendor need this” test VendorFulfillmentGroupResponse applies.
object
Linra’s own canonical order id — stable support-correlation reference.
object
Always Supplier for a row reachable on this API at all.
Linra’s DECISIVE outcome, once decided (null until staff — or the silence-timeout worker — decides). Never writable by you.
Your own proposed outcome, echoed back.
object
object
Example
{ "state": "SUCCESS", "payload": { "status": "Received", "inspection": { "receivingParty": "Supplier", "outcome": "AcceptedDefect", "supplierProposedOutcome": "AcceptedDefect", "evidence": [ { "kind": "Photo" } ] } }}Request validation failed.
object
object
Example
{ "state": "NOT_FOUND_VENDOR_OFFER"}Your token doesn’t carry the capability this endpoint requires.
object
object
Examples
{ "state": "FORBIDDEN_CAPABILITY_NOT_GRANTED", "payload": null, "details": { "requiredCapability": "Orders" }}Unknown return request id, one belonging to another vendor, or one not destined to a supplier at all (a Linra-sorting-point-bound return — never reachable on this API).
object
object
Examples
{ "state": "NOT_FOUND_RETURN_REQUEST", "payload": null, "details": {}}Evidence is required before a proposal, or the request is not currently UnderInspection.
object
object
Examples
{ "state": "BUSINESS_RETURN_INSPECTION_EVIDENCE_REQUIRED", "payload": null, "details": {}}{ "state": "BUSINESS_RETURN_REQUEST_INVALID_TRANSITION", "payload": null, "details": {}}Too many requests. Retry after the Retry-After header (seconds).
object
object
Example
{ "state": "NOT_FOUND_VENDOR_OFFER"}Headers
Section titled “Headers”Seconds to wait before retrying.

