Przejdź do głównej zawartości

Pobierz powód zwrotu po ID

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

Success

Typ treściapplication/json
object
id
integer format: int64
availableLanguages
Array<string>
nullable
names
Array<object>
nullable
object
language
string
nullable
name
string
nullable
Examplegenerated
{
"id": 1,
"availableLanguages": [
"example"
],
"names": [
{
"language": "example",
"name": "example"
}
]
}

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