Skip to main content

Get Returnable Lines

GET 

/api/portal/orders/:order/returnable

For a delivered order, list which lines can still be returned and the maximum returnable quantity for each (ordered/fulfilled minus already-returned), plus ineligible lines with a reason (not_delivered, window_expired, already_returned). Returns 404 if the order is not on the active account.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request

Responses

OK

Response Headers
    Content-Type