Przejdź do głównej zawartości

Pobierz grupę statusów zwrotów po ID

GET
/api/v3/returns/status-groups/{id}
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/returns/status-groups/1 \
--header 'Authorization: Bearer <token>'
id
wymagane
integer format: int32

Success

Typ treściapplication/json
object
id
integer format: int64
name
string
nullable
description
string
nullable
parentId
integer format: int64
nullable
position
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
Examplegenerated
{
"id": 1,
"name": "example",
"description": "example",
"parentId": 1,
"position": 1,
"createdAt": "2026-04-15T12:00:00Z",
"updatedAt": "2026-04-15T12:00:00Z"
}

Not Found

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}