Upload inspection evidence (a damage photo or document)
const url = 'https://api-omni-vendors.linra.net/api/v1/scent/returns/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evidence';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"url":"https://example.com","kind":"Photo"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api-omni-vendors.linra.net/api/v1/scent/returns/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evidence \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "https://example.com", "kind": "Photo" }'Uploads one piece of evidence against your own return request’s inspection. At least one
Photo must exist before inspection/propose accepts a proposal. Requires the request to
already be Received (BUSINESS_RETURN_REQUEST_NOT_RECEIVED 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”Uploads one piece of evidence (URL only — no blob-storage backend). At least one Photo must exist before inspection/propose accepts your proposal.
object
Must be an absolute https:// URL.
Responses
Section titled “Responses”The uploaded evidence.
object
object
object
Example
{ "state": "SUCCESS", "payload": { "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": {}}The request has not been received yet.
object
object
Examples
{ "state": "BUSINESS_RETURN_REQUEST_NOT_RECEIVED", "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.

