Pobierz zaplanowane importy ofert
GET
/api/ScheduledImport/GetScheduledImports
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ScheduledImport/GetScheduledImports';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/ScheduledImport/GetScheduledImports \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
scheduledImports
wymagane
Array<object>
object
request
wymagane
object
connectionId
wymagane
string
templateId
wymagane
integer format: int32
createProduct
wymagane
boolean
matchBySku
wymagane
boolean
matchByEan
wymagane
boolean
autoRenew
wymagane
boolean
offerIds
Array<string>
shippingRateId
string
pimCatalogId
integer format: int64
priceGroupId
integer format: int32
warehouseId
integer format: int32
findProducts
string
linkProducts
boolean
times
wymagane
Array<object>
object
day
wymagane
integer format: int32
hour
wymagane
integer format: int32
object
scheduledImports
wymagane
Array<object>
object
request
wymagane
object
connectionId
wymagane
string
templateId
wymagane
integer format: int32
createProduct
wymagane
boolean
matchBySku
wymagane
boolean
matchByEan
wymagane
boolean
autoRenew
wymagane
boolean
offerIds
Array<string>
shippingRateId
string
pimCatalogId
integer format: int64
priceGroupId
integer format: int32
warehouseId
integer format: int32
findProducts
string
linkProducts
boolean
times
wymagane
Array<object>
object
day
wymagane
integer format: int32
hour
wymagane
integer format: int32
Examplegenerated
{ "scheduledImports": [ { "request": { "connectionId": "example", "templateId": 1, "createProduct": true, "matchBySku": true, "matchByEan": true, "autoRenew": true, "offerIds": [ "example" ], "shippingRateId": "example", "pimCatalogId": 1, "priceGroupId": 1, "warehouseId": 1, "findProducts": "example", "linkProducts": true }, "times": [ { "day": 1, "hour": 1 } ] } ]}object
scheduledImports
wymagane
Array<object>
object
request
wymagane
object
connectionId
wymagane
string
templateId
wymagane
integer format: int32
createProduct
wymagane
boolean
matchBySku
wymagane
boolean
matchByEan
wymagane
boolean
autoRenew
wymagane
boolean
offerIds
Array<string>
shippingRateId
string
pimCatalogId
integer format: int64
priceGroupId
integer format: int32
warehouseId
integer format: int32
findProducts
string
linkProducts
boolean
times
wymagane
Array<object>
object
day
wymagane
integer format: int32
hour
wymagane
integer format: int32
Examplegenerated
{ "scheduledImports": [ { "request": { "connectionId": "example", "templateId": 1, "createProduct": true, "matchBySku": true, "matchByEan": true, "autoRenew": true, "offerIds": [ "example" ], "shippingRateId": "example", "pimCatalogId": 1, "priceGroupId": 1, "warehouseId": 1, "findProducts": "example", "linkProducts": true }, "times": [ { "day": 1, "hour": 1 } ] } ]}
