Pobierz ID produktów spełniających filtr
GET
/api/products/v3/products/ids
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/products/v3/products/ids?searchOperator=AND';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”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
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
value
string
externalProductId
string
productPropertyExternalId
string
currency
string
language
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<integer>
object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<integer>
Examplegenerated
{ "totalRecords": 1, "totalPages": 1, "data": [ 1 ]}object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<integer>
Examplegenerated
{ "totalRecords": 1, "totalPages": 1, "data": [ 1 ]}
