Przejdź do głównej zawartości

Pobierz status zwrotu po ID

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

Success

Typ treściapplication/json
object
id
integer format: int64
name
string
nullable
color
string
nullable
groupId
integer format: int32
shortName
string
nullable
description
string
nullable
position
integer format: int64
isDefault
boolean
Examplegenerated
{
"id": 1,
"name": "example",
"color": "example",
"groupId": 1,
"shortName": "example",
"description": "example",
"position": 1,
"isDefault": true
}

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"
}