Przejdź do głównej zawartości

Filtruj oferty Allegro

POST
/api/ManageOffersFilter/FilterOffers
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ManageOffersFilter/FilterOffers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "filterGroups": [ { "conditions": [ { "field": "example", "fieldType": "Text", "operator": "example", "value": "example", "valueTo": "example" } ] } ], "limit": 1, "offset": 1, "offerStatus": "ACTIVE", "sortType": "StartDate", "sortOrder": "Ascending" }'

Zwraca oferty spełniające kryteria zaawansowanego filtra – operacja odczytu.

object
connectionId
wymagane
string
filterGroups
wymagane
Array<object>
object
conditions
wymagane
Array<object>
object
field
wymagane
string
fieldType
wymagane
string
Dozwolone wartości: Text Numeric Dictionary Date Boolean DictionaryMultiple
operator
wymagane
string
value
string
nullable
valueTo
string
nullable
limit
wymagane
integer format: int32
offset
wymagane
integer format: int32
offerStatus
string
Dozwolone wartości: ACTIVE ENDED INACTIVE ACTIVATING ARCHIVED DELETED
sortType
string
Dozwolone wartości: StartDate EndDate Price StockSold StockAvailable StockWarehouse OfferId Sku
sortOrder
string
Dozwolone wartości: Ascending Descending

OK

object
allProductAllegroOffers
wymagane
Array<object>
object
lastRefresh
wymagane
string
connectionId
wymagane
string
allegroOfferId
wymagane
string
offerProductId
string
nullable
allegroOfferName
wymagane
string
allegroOfferCategoryId
wymagane
string
allegroOfferCategoryName
string
nullable
templateId
wymagane
integer format: int64
allegroPrimaryImageUrl
wymagane
string
allegroStockAvailable
wymagane
integer format: int32
allegroStockSold
wymagane
integer format: int32
priceAmount
wymagane
string
currency
wymagane
string
publication
wymagane
object
status
wymagane
string
startingAt
wymagane
string
nullable
startedAt
wymagane
string
nullable
endingAt
wymagane
string
nullable
endedAt
wymagane
string
nullable
endedBy
wymagane
string
nullable
productId
integer format: int64
nullable
pimUrl
string
nullable
pimEan
string
nullable
pimSku
string
nullable
offerEan
string
nullable
offerSku
string
nullable
pimStock
integer format: int32
nullable
pimCategoryId
integer format: int64
nullable
pictures
object
entityId
string
nullable
pictures
Array<object>
nullable
object
slot
wymagane
integer format: int32
url
string
nullable
type
string
nullable
extension
string
nullable
autoRenew
wymagane
boolean
lastOperationStatus
string
Dozwolone wartości: NotProcessed StartedProcessing Success AllegroInProgress AllegroError SystemError OfferNotFoundOrArchived Cancelled Scheduled
renewOfferHistoryStatus
string
Dozwolone wartości: InProgress Done Failed
parentProductId
integer format: int64
nullable
offerNameTemplate
string
nullable
isPromoted
wymagane
boolean
isBeingValidatedByAllegro
wymagane
boolean
pimCatalogId
integer format: int64
nullable
creatorUsername
string
nullable
shippingTime
string
nullable
hasAdditionalMarketplaces
wymagane
boolean
totalCount
integer format: int64
nullable