Wyszukaj kategorie Erli
GET
/api/ErliCatalog/SearchCategories
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/ErliCatalog/SearchCategories';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/ErliCatalog/SearchCategories \ --header 'Authorization: Bearer <token>'Wyszukiwanie kategorii w drzewie kategorii Erli.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
SearchTerm
string
Limit
integer format: int32
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
dictionaryReady
wymagane
boolean
categories
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
leaf
wymagane
boolean
path
wymagane
string
breadcrumb
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
object
dictionaryReady
wymagane
boolean
categories
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
leaf
wymagane
boolean
path
wymagane
string
breadcrumb
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
Examplegenerated
{ "dictionaryReady": true, "categories": [ { "id": 1, "name": "example", "leaf": true, "path": "example", "breadcrumb": [ { "id": 1, "name": "example" } ] } ]}object
dictionaryReady
wymagane
boolean
categories
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
leaf
wymagane
boolean
path
wymagane
string
breadcrumb
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
Examplegenerated
{ "dictionaryReady": true, "categories": [ { "id": 1, "name": "example", "leaf": true, "path": "example", "breadcrumb": [ { "id": 1, "name": "example" } ] } ]}
