Przejdź do głównej zawartości

Pobierz status pozycji zwrotu po ID

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

The status identifier.

Success

Typ treściapplication/json
object
id
integer format: int64
name
string
nullable
color
string
nullable
warehouseId
integer format: int32
nullable
createdAt
string format: date-time
updatedAt
string format: date-time
Examplegenerated
{
"id": 1,
"name": "example",
"color": "example",
"warehouseId": 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"
}