Przejdź do głównej zawartości

Pobierz ID produktów spełniających filtr

GET
/api/products/v3/products/ids
curl --request GET \
--url 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/products/v3/products/ids?searchOperator=AND' \
--header 'Authorization: Bearer <token>'

Zwraca stronicowaną listę samych identyfikatorów produktów pasujących do filtrów. Przydatne do synchronizacji i operacji masowych.

catalogId
integer format: int64
warehouseId
integer format: int64
priceGroupId
integer format: int64
productId
integer format: int64
categoryId
integer format: int64
productName
string
ean
string
sku
string
vat
number format: double
quantityFrom
integer format: int32
quantityTo
integer format: int32
priceFrom
number format: double
priceTo
number format: double
weightFrom
number format: double
weightTo
number format: double
widthFrom
number format: double
widthTo
number format: double
heightFrom
number format: double
heightTo
number format: double
lengthFrom
number format: double
lengthTo
number format: double
sortBy
string
andFilters
Array<string>
excludedIds
Array<integer>
includedIds
Array<integer>
sortOrder
string
availability
string
productConnections
Array<string>
excludedProductConnections
Array<string>
hasNoProductConnections
boolean
pageSize
integer format: int32
pageNumber
integer format: int32
isBundle
boolean
strictFilter
boolean
searchOperator
string
Dozwolone wartości: AND OR
includes.includeCatalog
boolean
includes.includeManufacturer
boolean
includes.includeCategory
boolean
includes.includeStocks
boolean
includes.includeProperties
boolean
includes.includeProductLinks
boolean
includes.includeComplexFields
boolean
includes.includeVariants
boolean
includes.includeBundleItems
boolean
includes.includeTranslations
boolean
location
string
categoriesIds
Array<integer>
manufacturersIds
Array<integer>
complexFieldFilters
Array<object>
object
fieldName
string
nullable
value
string
nullable
externalProductId
string
productPropertyExternalId
string
currency
string
language
string

Success

object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<integer>
nullable