Przejdź do głównej zawartości

Pobierz wiele statusów zamówień po ID

POST
/api/v3/Statuses/ByIds
curl --request POST \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Statuses/ByIds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[ 1 ]'

Odczyt – lista ID w treści żądania.

Array<integer>
Examplegenerated
[
1
]

Success

Typ treściapplication/json
Array<object>
object
id
integer format: int64
name
string
nullable
shortName
string
nullable
description
string
nullable
color
string
nullable
isFavorite
boolean
groupId
integer format: int64
nullable
position
integer format: int64
externalId
string
nullable
Examplegenerated
[
{
"id": 1,
"name": "example",
"shortName": "example",
"description": "example",
"color": "example",
"isFavorite": true,
"groupId": 1,
"position": 1,
"externalId": "example"
}
]