List sales returns
Operation ID: listAccountingSalesReturns
Group: Accounting › Sales Returns
Open in the interactive reference
GET /accounting/sales-returns
Read-only: Reads and returns; changes nothing.
Lists sales returns. Each sales return is returned with only some of its fields, and without its lines. For the lines, use GET accounting/sales-returns/:id or POST accounting/sales-returns/search.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
Query surface
id— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likestatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likereturnType— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likesalesOrderId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likecurrency— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between- Orderable: id, status, returnType, returnDate, salesOrderId, currency, lastModifiedDate
- Selectable: id, salesReturnNumber, status, returnType, returnDate, salesOrderId, currency, lastModifiedDate
page[size]— Page sizepage[cursor]— Opaque continuation cursor
Response
200 Success
Under data, an array of listAccountingSalesReturnsRow:
| Field | Type | Required | Filter | Sort | Description |
|---|---|---|---|---|---|
id |
string | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The unique identifier for the sales return. |
salesReturnNumber |
string | null | no | no | no | The RMA number, for example 'SR-1'. Absent while none has been assigned. |
status |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The lifecycle status of the sales return. Possible values: 'draft', 'submitted', 'received', 'approved', 'completed', 'cancelled', 'rejected'. |
returnType |
string | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The resolution path for the return. Possible values: 'credit', 'replacement'. It cannot be changed once status moves past 'draft'. |
returnDate |
date | no | no | yes | The transaction date for the return. Format YYYY-MM-DD. |
salesOrderId |
string | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The sales order this return is against. A sales return is always against exactly one sales order. See id on GET accounting/sales-orders/:id. |
currency |
string | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn), Pattern (like) |
yes | The currency of every amount on this record and its lines. Format ISO 4217, for example 'USD'. |
lastModifiedDate |
date-time | null | no | Exact (eq, ne), Range (gt, gte, lt, lte, between), Any of (in, notIn) |
yes | The date and time the sales return last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"salesReturnNumber": "<salesReturnNumber>",
"status": "<status>",
"returnType": "<returnType>",
"returnDate": "2026-01-15",
"salesOrderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"currency": "<currency>",
"lastModifiedDate": "2026-01-15T09:30:00.000Z"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "<nextCursor>"
}
}
Statuses
400— Invalid request or business failure401— The request carries no valid access token.403— Not authorized404— Not found429— Too many requests from this client address. The response has no body and noRetry-Afterheader.500— Internal server error