Przejdź do głównej zawartości

Pobierz status zadania w tle

GET
/api/jobs/get/{id}
curl --request GET \
--url https://twoja-instancja-importer-api.enterprise.sellrocket.pl/api/jobs/get/1 \
--header 'Authorization: Bearer <token>'

Zwraca status i wynik zadania wykonywanego asynchronicznie (np. importu).

id
wymagane
integer format: int64

OK

Typ treściapplication/json
object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
payload
nullable
result
nullable
status
string
Dozwolone wartości: New InProgress Completed Failed
command
string
nullable
Example
{
"status": "New"
}