Skip to main content

List RMA FIFO Layers

GET 

/api/rmas/:rma/fifo-layers

List the inventory cost layers created by receiving this RMA's returned stock. Each layer records the received quantity, its unit cost, remaining availability, and lot details (batch number, expiry) when the product is lot-tracked.

Required scope: returns:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

origin identifies the return receipt line the layer came from; available_quantity is original_quantity - fulfilled_quantity; days_to_expiry is a signed day count (negative when expired, null when no expiry).

Standard paginated response, sorted newest first. Requires the returns:read token scope.

Request

Responses

OK

Response Headers
    Content-Type