Pobierz atrybuty kategorii Erli
GET
/api/ErliCatalog/GetCategoryAttributes
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/ErliCatalog/GetCategoryAttributes';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/GetCategoryAttributes \ --header 'Authorization: Bearer <token>'Atrybuty (parametry) wymagane i opcjonalne dla wybranej kategorii Erli.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
CategoryId
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
maxValues
number format: double
min
number format: double
max
number format: double
precision
number format: double
unit
string
dictionaryValues
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
maxValues
number format: double
min
number format: double
max
number format: double
precision
number format: double
unit
string
dictionaryValues
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
Examplegenerated
[ { "id": 1, "name": "example", "type": "example", "required": true, "maxValues": 1, "min": 1, "max": 1, "precision": 1, "unit": "example", "dictionaryValues": [ { "id": "example", "name": "example" } ] }]Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
maxValues
number format: double
min
number format: double
max
number format: double
precision
number format: double
unit
string
dictionaryValues
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
Examplegenerated
[ { "id": 1, "name": "example", "type": "example", "required": true, "maxValues": 1, "min": 1, "max": 1, "precision": 1, "unit": "example", "dictionaryValues": [ { "id": "example", "name": "example" } ] }]
