Get return inventory by line item ID
ReturnInventory
Get return inventory by line item ID
GET
Get return inventory by line item ID
Fetches return inventory record(s) tied to a specific return-request line item ID. Use this when you have the line-item reference from a return request and need the inventory state.
Production example:
The key already contains the full S3 path. Constructed URLs are publicly fetchable, require no authentication header, and do not expire. URLs and content are safe to cache client-side.
Empty state:
Inventory photos
The response includes areturnRequestLineItemImages[] array of photos attached to the line item. The endpoint returns S3 keys, not URLs — to display or fetch a photo, build a URL by concatenating the environment-specific hostname with the key.
Entry shape
Each entry exposes four resized variants of the same photo, so you can pick the right one for your UI:URL construction
Hostname per environment:
Formula:
returnRequestLineItemImages: null for this endpoint (compared to [] on Get Return Inventory). Treat both as “no photos”.
This endpoint reflects the current state at query time. For real-time notifications when warehouse staff add, replace, or remove photos, subscribe to the
changeLineItemImage webhook rather than polling.Related
- Get Return Inventory — same response shape, queryable by inventory ID.
- Image Updated webhook — real-time photo change notifications.
- VAS Updated webhook — real-time VAS result photo notifications.