Przejdź do głównej zawartości

Pobierz oferty pogrupowane po produktach

GET
/api/ProductAllegroOffer/GetGroupedProductAllegroOffers
curl --request GET \
--url 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/GetGroupedProductAllegroOffers?ConnectionId=example&OfferStatus=ACTIVE&Limit=1&Offset=1' \
--header 'Authorization: Bearer <token>'

Zwraca oferty Allegro pogrupowane według powiązanych produktów, z filtrowaniem.

ConnectionId
wymagane
string
OfferStatus
wymagane
string
Dozwolone wartości: ACTIVE ENDED INACTIVE ACTIVATING ARCHIVED DELETED
Limit
wymagane
integer format: int32
Offset
wymagane
integer format: int32
CatalogId
integer format: int64
OfferName
string
ProductIds
string
ProductSKU
string
ProductEAN
string
OfferSKU
string
OfferEAN
string
AllegroPriceFrom
number format: double
AllegroPriceTo
number format: double
AllegroQuantityFrom
integer format: int32
AllegroQuantityTo
integer format: int32
PimQuantityFrom
integer format: int32
PimQuantityTo
integer format: int32
AllegroSoldQuantityFrom
integer format: int32
AllegroSoldQuantityTo
integer format: int32
ProductVariantId
integer format: int64
OfferStartDateFrom
string format: date-time
OfferStartDateTo
string format: date-time
OfferEndDateFrom
string format: date-time
OfferEndDateTo
string format: date-time
Warning
string
Dozwolone wartości: None MoreProductsInAllegro NotLinked NotExistInPim NoSalesFor11Months
SortType
string
Dozwolone wartości: StartDate EndDate Price StockSold StockAvailable StockWarehouse OfferId Sku
SortOrder
string
Dozwolone wartości: Ascending Descending
AutoRenewStatus
string
Dozwolone wartości: AutoRenewEnabled AutoRenewDisabled LastOperationFailed
OfferIds
string
PimCategoryIds
Array<integer>
ResponsibleProducerId
string
ResponsiblePersonId
string
IsSyncerPriceUpdateEnabled
boolean
IsSyncerStockUpdateEnabled
boolean
IsPromoted
boolean
TemplateId
integer format: int64
OfferTags
Array<string>
OfferCategoryIds
Array<string>

OK

object
groupedOffers
wymagane
object
ACTIVE
wymagane
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
ENDED
wymagane
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
INACTIVE
wymagane
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
ACTIVATING
wymagane
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
ARCHIVED
wymagane
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
DELETED
wymagane
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