Pobierz listę katalogów produktów
GET
/api/catalogs/v2/products-catalogs
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/catalogs/v2/products-catalogs?pageSize=100&pageNumber=0';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/catalogs/v2/products-catalogs?pageSize=100&pageNumber=0' \ --header 'Authorization: Bearer <token>'Zwraca stronicowaną listę katalogów produktów, opcjonalnie z przypisanymi grupami cenowymi i magazynami. Odpowiednik getInventories w BaseLinker.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”pageSize
integer format: int32
Max value : 1000
pageNumber
integer format: int32
includePriceGroupIds
boolean
includeWarehouseIds
boolean
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<object>
object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<object>
object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
Examplegenerated
{ "totalRecords": 1, "totalPages": 1, "data": [ { "id": 1, "name": "example", "description": "example", "isDefault": true, "reservations": true, "languages": [ "example" ], "defaultLanguage": "example", "defaultPriceGroupId": 1, "defaultWarehouseId": 1, "priceGroupIds": [ 1 ], "warehouseIds": [ 1 ] } ]}object
totalRecords
integer format: int32
totalPages
integer format: int32
data
Array<object>
object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
Examplegenerated
{ "totalRecords": 1, "totalPages": 1, "data": [ { "id": 1, "name": "example", "description": "example", "isDefault": true, "reservations": true, "languages": [ "example" ], "defaultLanguage": "example", "defaultPriceGroupId": 1, "defaultWarehouseId": 1, "priceGroupIds": [ 1 ], "warehouseIds": [ 1 ] } ]}
