Pobierz listę zarejestrowanych zwrotów
Changed onZwraca listę dokumentów zwrotów (RMZ). Umożliwia filtrowanie po dacie, numerze zamówienia, statusie, źródle oraz numerze zwrotu.
Request
- Base URLhttps://demo.sellasist.pl/api/v1
- URLhttps://demo.sellasist.pl/api/v1/returns
- AuthAPI key in header apiKey
Query parameters
Data utworzenia zwrotu od (format: YYYY-MM-DD HH:MM:SS)
Data utworzenia zwrotu do (format: YYYY-MM-DD HH:MM:SS)
ID zamówienia w Sellasist (wskazówka: to samo ID, które występuje w endpointcie GET /orders)
ID statusu zwrotu (wskazówka: pełną listę dostępnych ID statusów pobierzesz z GET /returns_statuses)
ID źródła zwrotu (wskazówka: pełną listę źródeł pobierzesz z GET /returns_sources)
Dokładny numer zwrotu w systemie (np. RMZ120072026)
Kierunek sortowania po ID (desc - od najnowszych, asc - od najstarszych)
Liczba wyników na stronę (domyślnie 100, maks. 500)
Przesunięcie wyników (paginacja)
Response
Sukces. Zwraca listę dokumentów zwrotów.
Example response
[
{
"id": 666,
"date": "2026-07-20 12:25:43",
"status": "Zgłoszenie przyjęte",
"status_id": 1,
"return_number": "RMZ215042024",
"external_return_number": "EXT-RET-9921",
"order_number": 1234,
"source": "Sklep internetowy",
"source_id": 1,
"refund_value": 89.99,
"refund_currency": "PLN",
"shipment_price": 12,
"bankaccount": "PL12345678901234567890123456",
"tracking_number": "603236276201506110294169"
}
]Changes
- breaking
the
queryrequest parametersortwas restricted to a list of enum values - breaking
for the
queryrequest parameterlimit, default value100was added - breaking
for the
queryrequest parameteroffset, default value0was added - breaking
for the
queryrequest parametersort, default valuedescwas added - breaking
the response's body type changed from
objecttoarrayfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional
queryrequest parameterreturn_number - info
added the new optional
queryrequest parameterstatus_id - info
added the new enum value
ascto thequeryrequest parametersort - info
added the new enum value
descto thequeryrequest parametersort - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking