Pobierz katalog po ID
GET
/api/catalogs/v2/products-catalogs/{id}
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/catalogs/v2/products-catalogs/1';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/1 \ --header 'Authorization: Bearer <token>'Zwraca szczegóły pojedynczego katalogu produktów.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
Examplegenerated
{ "id": 1, "name": "example", "description": "example", "isDefault": true, "reservations": true, "priceGroupIds": [ 1 ], "warehouseIds": [ 1 ], "languages": [ "example" ], "defaultLanguage": "example", "defaultPriceGroupId": 1, "defaultWarehouseId": 1}object
id
integer format: int64
name
string
description
string
isDefault
boolean
reservations
boolean
priceGroupIds
Array<integer>
warehouseIds
Array<integer>
languages
Array<string>
defaultLanguage
string
defaultPriceGroupId
integer format: int64
defaultWarehouseId
integer format: int64
Examplegenerated
{ "id": 1, "name": "example", "description": "example", "isDefault": true, "reservations": true, "priceGroupIds": [ 1 ], "warehouseIds": [ 1 ], "languages": [ "example" ], "defaultLanguage": "example", "defaultPriceGroupId": 1, "defaultWarehouseId": 1}
