Pobierz listę importów ofert
GET
/api/ProductAllegroOffer/GetOfferImports
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/GetOfferImports';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/GetOfferImports \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
offerImports
wymagane
Array<object>
object
id
wymagane
integer format: int64
connectionId
wymagane
string
connectionName
wymagane
string
requestedCount
wymagane
integer format: int32
startDate
wymagane
string format: date-time
endDate
wymagane
string format: date-time
importStatus
wymagane
string
addedCount
wymagane
integer format: int32
existCount
wymagane
integer format: int32
failedCount
wymagane
integer format: int32
offerImportDetailsTotalCount
wymagane
integer format: int32
offerImportDetailsOffset
wymagane
integer format: int32
offerImportDetailsLimit
wymagane
integer format: int32
offerWithMultipleProducts
wymagane
Array<object>
object
allegroOfferId
wymagane
string
matchedProductIds
wymagane
Array<integer>
offerImportDetails
wymagane
Array<object>
object
allegroOfferId
wymagane
string
errorMessage
string
errorMessageDetails
string
initiator
string
object
offerImports
wymagane
Array<object>
object
id
wymagane
integer format: int64
connectionId
wymagane
string
connectionName
wymagane
string
requestedCount
wymagane
integer format: int32
startDate
wymagane
string format: date-time
endDate
wymagane
string format: date-time
importStatus
wymagane
string
addedCount
wymagane
integer format: int32
existCount
wymagane
integer format: int32
failedCount
wymagane
integer format: int32
offerImportDetailsTotalCount
wymagane
integer format: int32
offerImportDetailsOffset
wymagane
integer format: int32
offerImportDetailsLimit
wymagane
integer format: int32
offerWithMultipleProducts
wymagane
Array<object>
object
allegroOfferId
wymagane
string
matchedProductIds
wymagane
Array<integer>
offerImportDetails
wymagane
Array<object>
object
allegroOfferId
wymagane
string
errorMessage
string
errorMessageDetails
string
initiator
string
Example
{ "offerImports": [ { "importStatus": "InProgress", "offerImportDetails": [ { "errorMessage": "NotExistInAllegro" } ] } ]}object
offerImports
wymagane
Array<object>
object
id
wymagane
integer format: int64
connectionId
wymagane
string
connectionName
wymagane
string
requestedCount
wymagane
integer format: int32
startDate
wymagane
string format: date-time
endDate
wymagane
string format: date-time
importStatus
wymagane
string
addedCount
wymagane
integer format: int32
existCount
wymagane
integer format: int32
failedCount
wymagane
integer format: int32
offerImportDetailsTotalCount
wymagane
integer format: int32
offerImportDetailsOffset
wymagane
integer format: int32
offerImportDetailsLimit
wymagane
integer format: int32
offerWithMultipleProducts
wymagane
Array<object>
object
allegroOfferId
wymagane
string
matchedProductIds
wymagane
Array<integer>
offerImportDetails
wymagane
Array<object>
object
allegroOfferId
wymagane
string
errorMessage
string
errorMessageDetails
string
initiator
string
Example
{ "offerImports": [ { "importStatus": "InProgress", "offerImportDetails": [ { "errorMessage": "NotExistInAllegro" } ] } ]}
