Przejdź do głównej zawartości

Pobierz listę importów produktów

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

Zwraca stronicowaną listę uruchomionych importów produktów wraz z ich statusem.

limit
integer format: int32
default: 10
offset
integer format: int32
0
resultsLimit
integer format: int32
0
resultsOffset
integer format: int32
0

OK

Typ treściapplication/json
object
list
Array<object>
nullable
object
id
integer format: int64
catalogId
integer format: int64
status
string
Dozwolone wartości: New InProgress Completed Cancelled Failed
message
string
nullable
createdAt
string format: date-time
finishedAt
string format: date-time
nullable
includesHeader
boolean
separator
string
nullable
encoding
string
nullable
fileSize
integer format: int64
updatedProductCount
integer format: int32
createdProductCount
integer format: int32
results
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": [
{
"status": "New",
"results": [
{
"errorCode": "Unknown"
}
]
}
]
}