Przejdź do głównej zawartości

Pobierz wyniki wierszy importu produktów

GET
/api/v1/Imports/{importId}/results
curl --request GET \
--url 'https://twoja-instancja-importer-api.enterprise.sellrocket.pl/api/v1/Imports/1/results?limit=10&offset=0' \
--header 'Authorization: Bearer <token>'

Zwraca stronicowane wyniki przetworzenia poszczególnych wierszy importu produktów, w tym błędy.

importId
wymagane
integer format: int64
limit
integer format: int32
default: 10
offset
integer format: int32
0

OK

Typ treściapplication/json
object
list
Array<object>
nullable
object
lineNumber
integer format: int32
message
string
nullable
errorCode
string
Dozwolone wartości: Unknown ProductNotFound InvalidValue WarehouseNotFound PriceGroupNotFound RequestToPimFailed MissingField PimReturnedError OrderNotFound MultipleOrdersFound NotCreating PropertyFromPaymentNameNotFound OrderAlreadyPaid IncorrectPaymentAmount
errorParams
Array<string>
nullable
dateFinished
string format: date-time
productId
integer format: int64
nullable
productSku
string
nullable
productName
string
nullable
pageNumber
integer format: int32
total
integer format: int32
Example
{
"list": [
{
"errorCode": "Unknown"
}
]
}

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