Przejdź do głównej zawartości

Policz aktywne oferty produktów

POST
/api/ProductAllegroOffer/GetActiveSellerOffersCountGroupedByProductId
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/GetActiveSellerOffersCountGroupedByProductId \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "productIds": [ 1 ] }'

Zwraca liczbę aktywnych ofert dla każdego produktu – operacja odczytu.

object
connectionId
wymagane
string
productIds
wymagane
Array<integer>
Examplegenerated
{
"connectionId": "example",
"productIds": [
1
]
}

OK

Array<object>
object
productId
integer format: int64
nullable
activeOfferCount
wymagane
integer format: int32