Pobierz wiele statusów zamówień po ID
POST
/api/v3/Statuses/ByIds
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Statuses/ByIds';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '[1]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”Array<integer>
Examplegenerated
[ 1]Array<integer>
Examplegenerated
[ 1]Array<integer>
Examplegenerated
[ 1]Array<integer>
Array<integer>
Array<integer>
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<object>
object
id
integer format: int64
name
string
shortName
string
description
string
color
string
isFavorite
boolean
groupId
integer format: int64
position
integer format: int64
externalId
string
Examplegenerated
[ { "id": 1, "name": "example", "shortName": "example", "description": "example", "color": "example", "isFavorite": true, "groupId": 1, "position": 1, "externalId": "example" }]
