Skip to content

List Returnable Items

Returns the items of an order that can be put on a return, each with the trusted quantity caps. Use this to build the create-return form: the caps tell you the maximum quantity you may send as rma_qty when creating a return. Returned as a plain JSON array (no { data, meta } envelope). There is no customer scope — the admin can open a return for any order.

Endpoint

EndpointMethod
/api/admin/rma/requests/order-itemsGET

Query Parameters

ParameterTypeRequiredDescription
order_idintegeryesThe order whose returnable items to list.

Field notes

FieldMeaning
orderItemIdThe order item to return (pass as order_item_id on create).
currentQuantityQuantity currently on the order (not yet returned/canceled).
forReturnQuantityMax quantity eligible for a return resolution.
forCancelQuantityMax quantity eligible for a cancel_items resolution.
rmaQuantityQuantity already placed on returns.
rmaReturnPeriodThe return window (in days) for this item.

Permission

sales.rma.requests

TIP

See the Returns overview for how a return is created.

All admin endpoints require an admin Bearer token — see Authentication.

Released under the MIT License.