Przejdź do głównej zawartości

Zaplanuj cykliczny import ofert

POST
/api/ScheduledImport/SetScheduledImport
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ScheduledImport/SetScheduledImport \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "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 } ] }'

Ustawia cykliczny import ofert z Allegro dla konta.

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>
nullable
shippingRateId
string
nullable
pimCatalogId
integer format: int64
nullable
priceGroupId
integer format: int32
nullable
warehouseId
integer format: int32
nullable
findProducts
string
nullable
linkProducts
boolean
nullable
times
wymagane
Array<object>
object
day
wymagane
integer format: int32
hour
wymagane
integer format: int32
Examplegenerated
{
"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
}
]
}

OK