Pobierz katalogi PIM
GET
/api/PimProducts/GetCatalogs
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/PimProducts/GetCatalogs';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-sales-offers-erli-api.enterprise.sellrocket.pl/api/PimProducts/GetCatalogs \ --header 'Authorization: Bearer <token>'Katalogi produktów dostępne do wystawiania na Erli.
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Array<object>
object
id
wymagane
integer format: int64
name
string
isDefault
wymagane
boolean
Array<object>
object
id
wymagane
integer format: int64
name
string
isDefault
wymagane
boolean
Examplegenerated
[ { "id": 1, "name": "example", "isDefault": true }]Array<object>
object
id
wymagane
integer format: int64
name
string
isDefault
wymagane
boolean
Examplegenerated
[ { "id": 1, "name": "example", "isDefault": true }]
