Pobierz kategorie PIM
GET
/api/PimProducts/GetCategories
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/PimProducts/GetCategories';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/GetCategories \ --header 'Authorization: Bearer <token>'Kategorie produktów z PIM — do filtrowania przy wystawianiu.
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Array<object>
object
id
wymagane
integer format: int64
name
string
Array<object>
object
id
wymagane
integer format: int64
name
string
Examplegenerated
[ { "id": 1, "name": "example" }]Array<object>
object
id
wymagane
integer format: int64
name
string
Examplegenerated
[ { "id": 1, "name": "example" }]
