Pobierz grupy statusów zwrotów
GET
/api/v3/returns/status-groups
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/returns/status-groups?page=0&limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/returns/status-groups?page=0&limit=100' \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”page
integer format: int32
limit
integer format: int32
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
list
Array<object>
object
id
integer format: int64
name
string
description
string
parentId
integer format: int64
position
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{ "list": [ { "id": 1, "name": "example", "description": "example", "parentId": 1, "position": 1, "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z" } ], "pageNumber": 1, "total": 1}
