Przejdź do głównej zawartości

Pobierz listę kategorii

GET
/api/categories/v2/categories
curl --request GET \
--url 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/categories/v2/categories?noCatalogs=false' \
--header 'Authorization: Bearer <token>'

Zwraca listę kategorii produktów wraz z przypisaniem do katalogów. Odpowiednik getInventoryCategories w BaseLinker.

noCatalogs
boolean

Success

Array<object>
object
id
integer format: int64
name
string
nullable
parentId
string
nullable
catalogId
string
nullable
children
Array<object> recursive