Wyszukaj kategorie Allegro
GET
/api/Categories/Search
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Categories/Search';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-allegro-api.enterprise.sellrocket.pl/api/Categories/Search \ --header 'Authorization: Bearer <token>'Wyszukuje kategorie Allegro po frazie.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”searchTerm
Id, name (or part of a name) of an Allegro category.
string
Id, name (or part of a name) of an Allegro category.
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
categories
wymagane
Array<object>
object
originalId
string
leaf
wymagane
boolean
name
string
path
string
parent
string
favourite
wymagane
boolean
options
object
advertisement
wymagane
boolean
advertisementPriceOptional
wymagane
boolean
offersWithProductPublicationEnabled
wymagane
boolean
productCreationEnabled
wymagane
boolean
customParametersEnabled
wymagane
boolean
sellerCanRequirePurchaseComments
wymagane
boolean
additionalProperties
object
key
additional properties
parameters
Array<object>
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
object
categories
wymagane
Array<object>
object
originalId
string
leaf
wymagane
boolean
name
string
path
string
parent
string
favourite
wymagane
boolean
options
object
advertisement
wymagane
boolean
advertisementPriceOptional
wymagane
boolean
offersWithProductPublicationEnabled
wymagane
boolean
productCreationEnabled
wymagane
boolean
customParametersEnabled
wymagane
boolean
sellerCanRequirePurchaseComments
wymagane
boolean
additionalProperties
object
key
additional properties
parameters
Array<object>
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
Examplegenerated
{ "categories": [ { "originalId": "example", "leaf": true, "name": "example", "path": "example", "parent": "example", "favourite": true, "options": { "advertisement": true, "advertisementPriceOptional": true, "offersWithProductPublicationEnabled": true, "productCreationEnabled": true, "customParametersEnabled": true, "sellerCanRequirePurchaseComments": true, "additionalProperties": { "additionalProperty": "example" } }, "parameters": [ { "originalId": "example", "name": "example", "type": "example", "required": true, "requiredForProduct": true, "unit": "example", "options": { "ambiguousValueId": "example", "dependsOnParameterId": "example", "describesProduct": true, "customValuesEnabled": true, "additionalProperties": { "additionalProperty": "example" } }, "restrictions": { "min": 1, "max": 1, "range": true, "precision": 1, "minLength": 1, "maxLength": 1, "allowedNumberOfValues": 1, "multipleChoices": true, "additionalProperties": { "additionalProperty": "example" } }, "categoryId": "example", "categoryName": "example", "dictionary": [ { "id": "example", "value": "example", "dependsOnValueIds": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "defaultValues": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "additionalProperties": { "additionalProperty": "example" } } ], "additionalProperties": { "additionalProperty": "example" }}object
categories
wymagane
Array<object>
object
originalId
string
leaf
wymagane
boolean
name
string
path
string
parent
string
favourite
wymagane
boolean
options
object
advertisement
wymagane
boolean
advertisementPriceOptional
wymagane
boolean
offersWithProductPublicationEnabled
wymagane
boolean
productCreationEnabled
wymagane
boolean
customParametersEnabled
wymagane
boolean
sellerCanRequirePurchaseComments
wymagane
boolean
additionalProperties
object
key
additional properties
parameters
Array<object>
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
additionalProperties
object
key
additional properties
Examplegenerated
{ "categories": [ { "originalId": "example", "leaf": true, "name": "example", "path": "example", "parent": "example", "favourite": true, "options": { "advertisement": true, "advertisementPriceOptional": true, "offersWithProductPublicationEnabled": true, "productCreationEnabled": true, "customParametersEnabled": true, "sellerCanRequirePurchaseComments": true, "additionalProperties": { "additionalProperty": "example" } }, "parameters": [ { "originalId": "example", "name": "example", "type": "example", "required": true, "requiredForProduct": true, "unit": "example", "options": { "ambiguousValueId": "example", "dependsOnParameterId": "example", "describesProduct": true, "customValuesEnabled": true, "additionalProperties": { "additionalProperty": "example" } }, "restrictions": { "min": 1, "max": 1, "range": true, "precision": 1, "minLength": 1, "maxLength": 1, "allowedNumberOfValues": 1, "multipleChoices": true, "additionalProperties": { "additionalProperty": "example" } }, "categoryId": "example", "categoryName": "example", "dictionary": [ { "id": "example", "value": "example", "dependsOnValueIds": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "defaultValues": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "additionalProperties": { "additionalProperty": "example" } } ], "additionalProperties": { "additionalProperty": "example" }}
