Przejdź do głównej zawartości

Pobierz import płatności po ID

GET
/api/v3/Imports/Payments/{id}
curl --request GET \
--url 'https://twoja-instancja-importer-api.enterprise.sellrocket.pl/api/v3/Imports/Payments/1?resultsLimit=0&resultsOffset=0' \
--header 'Authorization: Bearer <token>'

Zwraca status i podsumowanie pojedynczego importu płatności.

id
wymagane
integer format: int64
resultsLimit
integer format: int32
0
resultsOffset
integer format: int32
0

OK

Typ treściapplication/json
object
id
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
updatedCount
integer format: int32
Example
{
"status": "New"
}

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