#Catalogues
Catalogues are root elements in category structures used for organizing products logically. A master catalogue allows setting up attributes on categories that are then available on products in those categories. Different catalogues can be used for diffrent assortments, category structures etc.
GET /catalogues Get all catalogues in the system
[
{
"Uid": "1d911462-2f4b-43f5-8946-91fb9e1d41be",
"Alias": "MasterCatalogue",
"Label": "Master catalogue",
"IsMaster": true,
"SortOrder": 1,
"IdentifierDefinitions": [
{
"Uid": "bd7c5034-66e4-41bc-93e4-f3152cb59060",
"Alias": "ERPRef",
"IdentifierPattern": "{0}",
"IdentifierAttributes": [
"8d11d0fa-d1ca-466e-993c-a6dd94b464b0"
]
}
],
"Configuration": {
"NameConfiguration": {
"NamePattern": "{0}",
"NameAttributes": [
"eefc3c7f-d792-4ff7-ae59-336a1aaa6b84"
]
},
"Tabs": [
{
"Label": "General",
"Sections": [
{
"Headline": "Basic information",
"Properties": [
{
"AttributeUid": "eefc3c7f-d792-4ff7-ae59-336a1aaa6b84",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "eb0bfa1f-84e5-4cd4-9430-3c9655d1bb1a",
"Type": "AttributeSetup"
},
{
"AttributeUid": "674033f0-e7e7-42ba-b77a-50839d3a1a67",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "ee00e4b8-4966-4bf0-9993-59578d5c50d3",
"Type": "AttributeSetup"
},
{
"AttributeUid": "4dc85b55-e48e-473a-821d-e8db717709ff",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "7c776f6c-63d8-4807-aa14-37faaa1a7c98",
"Type": "AttributeSetup"
}
],
"Uid": "fbe6d42d-b6cf-4530-97fe-11f8cd7a0f3a",
"Type": "DynamicSectionSetup"
}
],
"ShowSidebar": false,
"Uid": "176be350-d8f7-47e3-9a12-1dc103c828ac",
"Type": "DynamicTabSetup"
}
]
}
},
{
"Uid": "86849d30-0f34-4b6f-89ec-23b411913fe2",
"Alias": "USSalesCatalogue",
"Label": "Sales catalogue (US)",
"IsMaster": true,
"SortOrder": 2,
"IdentifierDefinitions": [
{
"Uid": "016cf4a2-9bb0-436a-aafb-5100ae2e4a60",
"Alias": "ERPRef",
"IdentifierPattern": "{0}",
"IdentifierAttributes": [
"8c0f9ff6-617f-409a-a92a-73fe2b4e4f42"
]
}
],
"Configuration": {
"NameConfiguration": {
"NamePattern": "{0}",
"NameAttributes": [
"eefc3c7f-d792-4ff7-ae59-336a1aaa6b84"
]
},
"Tabs": [
{
"Label": "General",
"Sections": [
{
"Headline": "Basic information",
"Properties": [
{
"AttributeUid": "eefc3c7f-d792-4ff7-ae59-336a1aaa6b84",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "b3603d38-58c5-4e2b-a566-2c0d0f9359b3",
"Type": "AttributeSetup"
}
],
"Uid": "53ed083b-c45d-453c-8aad-ea3b645ef51d",
"Type": "DynamicSectionSetup"
}
],
"ShowSidebar": false,
"Uid": "774e7a47-7f08-4c6a-a673-1f78a63015b3",
"Type": "DynamicTabSetup"
}
]
}
}
]
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of catalogue |
Alias | string |
Unique human readable alias for the catalogue |
Label | string |
Label of catalogue displayed in the backoffice |
IsMaster | boolean |
Indicates whether this catalogue is the master catalogue (only one master catalogue can exist in the system) |
SortOrder | integer |
Sort order of the catalogue compared to other catalogues |
IdentifierDefinitions | array : IdentifierDefinition |
Defines identifier setups used to create maps between eg. a category number in an external system and the internal id of a category of this catalogue in the system |
Configuration | object : CategoryConfigurationModel |
The configuration of tabs, sections and properties for categories in this catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of identifier definition |
Alias | string |
Unqique human readable identifier of the definition |
IdentifierPattern | string |
Pattern defining how to generate identifier string from values of the selected attributes (ex. {0} - {1} to render the values of two selected attributes in IdentifierAttributes with a - between them) |
IdentifierAttributes | array |
Attributes for which values should be used for generating the identifier string (ex. uid of attribute for Model number and uid of attribute for SKU) |
Property name | Data type | Description |
---|---|---|
NameConfiguration | object : NameConfiguration |
Pattern defining how names shall be generated for categories (names are shown in tree view and when a reference to the item is shown in backoffice) |
CreateWizard | object : WizardSetup |
The step wizard presented to users when creating a new category using this Category configuration [Optional] |
Tabs | array : TabSetup |
The tabs that shall be shown on categories using this category configuration in the backoffice |
Property name | Data type | Description |
---|---|---|
NamePattern | string |
Pattern defining how attribute values shall be concatenated to form a name. Ex. {0} - {1} |
NameAttributes | array |
Uids of attributes to use in rendering. Number of attributes must match number of referenced attributes in NamePattern |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard setup |
Steps | array : WizardStepSetup |
The steps that are part of this wizard |
Property name | Data type | Description |
---|---|---|
Properties | array : WizardPropertySetup |
Properties that shall be shown on this wizard step |
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
PropertyUid | string |
Reference to property uid on configuration defining the attribute |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Mandatory | boolean |
Defines if the defining attributes are mandatory in the step they are shown |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Add an optional display name to show for the property in the backoffice wizard |
DisplayDescription | string |
Add an optional description to show for the property in the backoffice wizard |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Label | string |
The headline this tab shall be presented with in the backoffice |
Sections | array : SectionSetup |
The sections shown on this tab in the backoffice |
ShowSidebar | boolean |
Shows product status sidebar in backoffice |
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Headline | string |
Headline of section |
Description | string |
Description to show on section |
Properties | array : PropertySetup |
Properties shown in section |
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Width | integer |
Widht of the preview property |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Name to show for the property in the backoffice |
DisplayDescription | string |
Description to show for the property in the backoffice |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
AttributeUid | string |
Uid of attribute |
ReadOnly | boolean |
Defines if the attribute value is read only |
Mandatory | boolean |
Defines if the attribute must have a value before the user can save the tab |
Unchangeable | boolean |
Defines if the attribute value cannot change, once it has gotten a value |
Inherits | boolean |
Can relevant to variant configuration. If the same attribute is connected to the product configuration and variant configuration of a product structure, setting Inherits to true will make the value set on the product inherit to its variants by default. |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
POST /catalogues Create new catalogue
#Available from v.3.3.0
{
"Uid": "94fb40c5-5074-4efb-b46d-a4320c7df8e8",
"Alias": "MasterCatalogue",
"Label": "Master catalogue",
"IsMaster": true,
"SortOrder": 1,
"IdentifierDefinitions": [
{
"Uid": "01f69b0f-3d62-4d0e-82f9-a279ce8c4e38",
"Alias": "ERPRef",
"IdentifierPattern": "{0}",
"IdentifierAttributes": [
"b236d616-50b0-4a4d-bcef-88b590f0d0e6"
]
}
],
"Configuration": {
"NameConfiguration": {
"NamePattern": "{0}",
"NameAttributes": [
"da4afd1d-15aa-47e6-8c10-fe18d11f11e2"
]
},
"Tabs": [
{
"Label": "General",
"Sections": [
{
"Headline": "Basic information",
"Properties": [
{
"AttributeUid": "da4afd1d-15aa-47e6-8c10-fe18d11f11e2",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "7fb40123-1094-4ccf-ac1a-14726c62bc9c",
"Type": "AttributeSetup"
},
{
"AttributeUid": "f3e65405-8eaa-4e01-8cbd-198bf001937f",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "cbd06f17-8f88-4d25-aef9-2012fd0bc44f",
"Type": "AttributeSetup"
},
{
"AttributeUid": "74c2605c-5128-41b4-ae1c-3196fbdcded2",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "697efc72-0f73-4fad-84cd-5fa658e49dbe",
"Type": "AttributeSetup"
}
],
"Uid": "9ca97004-4573-4869-8394-d29f5766c1db",
"Type": "DynamicSectionSetup"
}
],
"ShowSidebar": false,
"Uid": "39ff3d21-2ac0-417d-9a35-f6b12db4d9f3",
"Type": "DynamicTabSetup"
}
]
}
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
catalogue | body | object : CatalogueModel |
Catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of catalogue |
Alias | string |
Unique human readable alias for the catalogue |
Label | string |
Label of catalogue displayed in the backoffice |
IsMaster | boolean |
Indicates whether this catalogue is the master catalogue (only one master catalogue can exist in the system) |
SortOrder | integer |
Sort order of the catalogue compared to other catalogues |
IdentifierDefinitions | array : IdentifierDefinition |
Defines identifier setups used to create maps between eg. a category number in an external system and the internal id of a category of this catalogue in the system |
Configuration | object : CategoryConfigurationModel |
The configuration of tabs, sections and properties for categories in this catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of identifier definition |
Alias | string |
Unqique human readable identifier of the definition |
IdentifierPattern | string |
Pattern defining how to generate identifier string from values of the selected attributes (ex. {0} - {1} to render the values of two selected attributes in IdentifierAttributes with a - between them) |
IdentifierAttributes | array |
Attributes for which values should be used for generating the identifier string (ex. uid of attribute for Model number and uid of attribute for SKU) |
Property name | Data type | Description |
---|---|---|
NameConfiguration | object : NameConfiguration |
Pattern defining how names shall be generated for categories (names are shown in tree view and when a reference to the item is shown in backoffice) |
CreateWizard | object : WizardSetup |
The step wizard presented to users when creating a new category using this Category configuration [Optional] |
Tabs | array : TabSetup |
The tabs that shall be shown on categories using this category configuration in the backoffice |
Property name | Data type | Description |
---|---|---|
NamePattern | string |
Pattern defining how attribute values shall be concatenated to form a name. Ex. {0} - {1} |
NameAttributes | array |
Uids of attributes to use in rendering. Number of attributes must match number of referenced attributes in NamePattern |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard setup |
Steps | array : WizardStepSetup |
The steps that are part of this wizard |
Property name | Data type | Description |
---|---|---|
Properties | array : WizardPropertySetup |
Properties that shall be shown on this wizard step |
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
PropertyUid | string |
Reference to property uid on configuration defining the attribute |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Mandatory | boolean |
Defines if the defining attributes are mandatory in the step they are shown |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Add an optional display name to show for the property in the backoffice wizard |
DisplayDescription | string |
Add an optional description to show for the property in the backoffice wizard |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Label | string |
The headline this tab shall be presented with in the backoffice |
Sections | array : SectionSetup |
The sections shown on this tab in the backoffice |
ShowSidebar | boolean |
Shows product status sidebar in backoffice |
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Headline | string |
Headline of section |
Description | string |
Description to show on section |
Properties | array : PropertySetup |
Properties shown in section |
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Width | integer |
Widht of the preview property |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Name to show for the property in the backoffice |
DisplayDescription | string |
Description to show for the property in the backoffice |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
AttributeUid | string |
Uid of attribute |
ReadOnly | boolean |
Defines if the attribute value is read only |
Mandatory | boolean |
Defines if the attribute must have a value before the user can save the tab |
Unchangeable | boolean |
Defines if the attribute value cannot change, once it has gotten a value |
Inherits | boolean |
Can relevant to variant configuration. If the same attribute is connected to the product configuration and variant configuration of a product structure, setting Inherits to true will make the value set on the product inherit to its variants by default. |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Response status OK (200)
DELETE /catalogues Delete a catalogue
#Available from v.3.3.0
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
catalogueUid | query | string |
Response status OK (200)
PATCH /catalogues Update a catalogue
#Available from v.3.3.0
{
"Uid": "203eaf63-6b91-4c84-9c1f-9a99efb23bbe",
"Alias": "MasterCatalogue",
"Label": "Master catalogue",
"IsMaster": true,
"SortOrder": 1,
"IdentifierDefinitions": [
{
"Uid": "18636e5f-5c6b-406e-87cf-72d7f24dfc2b",
"Alias": "ERPRef",
"IdentifierPattern": "{0}",
"IdentifierAttributes": [
"fe441726-a01e-4ca9-be9a-be3039b529b8"
]
}
],
"Configuration": {
"NameConfiguration": {
"NamePattern": "{0}",
"NameAttributes": [
"813f51bd-6ba8-4388-b211-7a3359ea94db"
]
},
"Tabs": [
{
"Label": "General",
"Sections": [
{
"Headline": "Basic information",
"Properties": [
{
"AttributeUid": "813f51bd-6ba8-4388-b211-7a3359ea94db",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "84eac276-eb7f-4226-af70-d95fce41580d",
"Type": "AttributeSetup"
},
{
"AttributeUid": "56ec185a-dc9a-4205-9ea1-f932aebc71e8",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "b3bc3c74-ee29-48de-a873-34fb7a8b4217",
"Type": "AttributeSetup"
},
{
"AttributeUid": "83e38830-278d-416f-b076-62678e2147a9",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "3d8dd999-6bb5-4ae7-83a1-0040c5c6df2b",
"Type": "AttributeSetup"
}
],
"Uid": "69746220-cad4-4f11-b57e-60ba10430b96",
"Type": "DynamicSectionSetup"
}
],
"ShowSidebar": false,
"Uid": "95cfdaa0-77f6-4c0c-b539-ac51a53c0249",
"Type": "DynamicTabSetup"
}
]
}
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
catalogue | body | object : CatalogueModel |
Catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of catalogue |
Alias | string |
Unique human readable alias for the catalogue |
Label | string |
Label of catalogue displayed in the backoffice |
IsMaster | boolean |
Indicates whether this catalogue is the master catalogue (only one master catalogue can exist in the system) |
SortOrder | integer |
Sort order of the catalogue compared to other catalogues |
IdentifierDefinitions | array : IdentifierDefinition |
Defines identifier setups used to create maps between eg. a category number in an external system and the internal id of a category of this catalogue in the system |
Configuration | object : CategoryConfigurationModel |
The configuration of tabs, sections and properties for categories in this catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of identifier definition |
Alias | string |
Unqique human readable identifier of the definition |
IdentifierPattern | string |
Pattern defining how to generate identifier string from values of the selected attributes (ex. {0} - {1} to render the values of two selected attributes in IdentifierAttributes with a - between them) |
IdentifierAttributes | array |
Attributes for which values should be used for generating the identifier string (ex. uid of attribute for Model number and uid of attribute for SKU) |
Property name | Data type | Description |
---|---|---|
NameConfiguration | object : NameConfiguration |
Pattern defining how names shall be generated for categories (names are shown in tree view and when a reference to the item is shown in backoffice) |
CreateWizard | object : WizardSetup |
The step wizard presented to users when creating a new category using this Category configuration [Optional] |
Tabs | array : TabSetup |
The tabs that shall be shown on categories using this category configuration in the backoffice |
Property name | Data type | Description |
---|---|---|
NamePattern | string |
Pattern defining how attribute values shall be concatenated to form a name. Ex. {0} - {1} |
NameAttributes | array |
Uids of attributes to use in rendering. Number of attributes must match number of referenced attributes in NamePattern |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard setup |
Steps | array : WizardStepSetup |
The steps that are part of this wizard |
Property name | Data type | Description |
---|---|---|
Properties | array : WizardPropertySetup |
Properties that shall be shown on this wizard step |
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
PropertyUid | string |
Reference to property uid on configuration defining the attribute |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Mandatory | boolean |
Defines if the defining attributes are mandatory in the step they are shown |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Add an optional display name to show for the property in the backoffice wizard |
DisplayDescription | string |
Add an optional description to show for the property in the backoffice wizard |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Label | string |
The headline this tab shall be presented with in the backoffice |
Sections | array : SectionSetup |
The sections shown on this tab in the backoffice |
ShowSidebar | boolean |
Shows product status sidebar in backoffice |
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Headline | string |
Headline of section |
Description | string |
Description to show on section |
Properties | array : PropertySetup |
Properties shown in section |
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Width | integer |
Widht of the preview property |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Name to show for the property in the backoffice |
DisplayDescription | string |
Description to show for the property in the backoffice |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
AttributeUid | string |
Uid of attribute |
ReadOnly | boolean |
Defines if the attribute value is read only |
Mandatory | boolean |
Defines if the attribute must have a value before the user can save the tab |
Unchangeable | boolean |
Defines if the attribute value cannot change, once it has gotten a value |
Inherits | boolean |
Can relevant to variant configuration. If the same attribute is connected to the product configuration and variant configuration of a product structure, setting Inherits to true will make the value set on the product inherit to its variants by default. |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Response status OK (200)
GET /catalogues/{uid} Get catalogue by its Uid
{
"Uid": "b117529a-5ae9-47e5-a2db-d2851f60804a",
"Alias": "MasterCatalogue",
"Label": "Master catalogue",
"IsMaster": true,
"SortOrder": 1,
"IdentifierDefinitions": [
{
"Uid": "f2b31ce1-07b5-4144-9f7f-553bd07c727a",
"Alias": "ERPRef",
"IdentifierPattern": "{0}",
"IdentifierAttributes": [
"752f5ca0-ee69-4454-867e-33a27f212a28"
]
}
],
"Configuration": {
"NameConfiguration": {
"NamePattern": "{0}",
"NameAttributes": [
"835a4240-7674-4f95-a418-530947c273d8"
]
},
"Tabs": [
{
"Label": "General",
"Sections": [
{
"Headline": "Basic information",
"Properties": [
{
"AttributeUid": "835a4240-7674-4f95-a418-530947c273d8",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "4341d940-cf25-4406-afae-06abc6221a2e",
"Type": "AttributeSetup"
},
{
"AttributeUid": "54199381-8009-4040-be32-9711d8c9423c",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "031dd37a-e153-49cb-8d7b-743928434260",
"Type": "AttributeSetup"
},
{
"AttributeUid": "57e378e5-2495-4091-936d-9aa899973591",
"ReadOnly": false,
"Mandatory": false,
"Unchangeable": false,
"Inherits": false,
"Uid": "8bf01703-6300-4199-9633-0c34c79e71c6",
"Type": "AttributeSetup"
}
],
"Uid": "b1b8380d-b166-42ac-b15b-6030ae9588ad",
"Type": "DynamicSectionSetup"
}
],
"ShowSidebar": false,
"Uid": "b9ab3f05-cda7-41b9-9c4d-f140d1e3448a",
"Type": "DynamicTabSetup"
}
]
}
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
uid | path | string |
Unique id of catalogue |
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of catalogue |
Alias | string |
Unique human readable alias for the catalogue |
Label | string |
Label of catalogue displayed in the backoffice |
IsMaster | boolean |
Indicates whether this catalogue is the master catalogue (only one master catalogue can exist in the system) |
SortOrder | integer |
Sort order of the catalogue compared to other catalogues |
IdentifierDefinitions | array : IdentifierDefinition |
Defines identifier setups used to create maps between eg. a category number in an external system and the internal id of a category of this catalogue in the system |
Configuration | object : CategoryConfigurationModel |
The configuration of tabs, sections and properties for categories in this catalogue |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of identifier definition |
Alias | string |
Unqique human readable identifier of the definition |
IdentifierPattern | string |
Pattern defining how to generate identifier string from values of the selected attributes (ex. {0} - {1} to render the values of two selected attributes in IdentifierAttributes with a - between them) |
IdentifierAttributes | array |
Attributes for which values should be used for generating the identifier string (ex. uid of attribute for Model number and uid of attribute for SKU) |
Property name | Data type | Description |
---|---|---|
NameConfiguration | object : NameConfiguration |
Pattern defining how names shall be generated for categories (names are shown in tree view and when a reference to the item is shown in backoffice) |
CreateWizard | object : WizardSetup |
The step wizard presented to users when creating a new category using this Category configuration [Optional] |
Tabs | array : TabSetup |
The tabs that shall be shown on categories using this category configuration in the backoffice |
Property name | Data type | Description |
---|---|---|
NamePattern | string |
Pattern defining how attribute values shall be concatenated to form a name. Ex. {0} - {1} |
NameAttributes | array |
Uids of attributes to use in rendering. Number of attributes must match number of referenced attributes in NamePattern |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard setup |
Steps | array : WizardStepSetup |
The steps that are part of this wizard |
Property name | Data type | Description |
---|---|---|
Properties | array : WizardPropertySetup |
Properties that shall be shown on this wizard step |
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of wizard step |
Headline | string |
Headline for wizard step |
Description | string |
Description for wizard step |
Type | string |
The type of wizard step defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
PropertyUid | string |
Reference to property uid on configuration defining the attribute |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Mandatory | boolean |
Defines if the defining attributes are mandatory in the step they are shown |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Add an optional display name to show for the property in the backoffice wizard |
DisplayDescription | string |
Add an optional description to show for the property in the backoffice wizard |
Mandatory | boolean |
Defines if this property must be fulfilled for the user to be able to go to next step in the wizard |
Uid | string |
Unique id of wizard property |
Type | string |
The type of wizard property defining the actual implementation type of the abstract WizardStep |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Label | string |
The headline this tab shall be presented with in the backoffice |
Sections | array : SectionSetup |
The sections shown on this tab in the backoffice |
ShowSidebar | boolean |
Shows product status sidebar in backoffice |
Uid | string |
Unique id of tab |
ViewPermission | string |
Uid of permision required to view this tab |
SavePermission | string |
Uid of permission required to edit data on this tab |
Type | string |
The type of tab defining the actual implementation type of the abstract Tab |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Headline | string |
Headline of section |
Description | string |
Description to show on section |
Properties | array : PropertySetup |
Properties shown in section |
Uid | string |
Unique id of section |
ViewPermission | string |
Permission required to view section |
SavePermission | string |
Permission required to edit data in this section |
Type | string |
The type of section defining the actual implementation type of the abstract Section |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
Width | integer |
Widht of the preview property |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
DisplayName | string |
Name to show for the property in the backoffice |
DisplayDescription | string |
Description to show for the property in the backoffice |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
Property name | Data type | Description |
---|---|---|
AttributeUid | string |
Uid of attribute |
ReadOnly | boolean |
Defines if the attribute value is read only |
Mandatory | boolean |
Defines if the attribute must have a value before the user can save the tab |
Unchangeable | boolean |
Defines if the attribute value cannot change, once it has gotten a value |
Inherits | boolean |
Can relevant to variant configuration. If the same attribute is connected to the product configuration and variant configuration of a product structure, setting Inherits to true will make the value set on the product inherit to its variants by default. |
Uid | string |
Unique id of property |
ViewPermission | string |
Permission required to view property |
SavePermission | string |
Permission required to edit property |
Type | string |
The type of property defining the actual implementation type of the abstract Property |
GET /catalogues/{uid}/children Get all children to a catalogue
[
{
"Id": 10,
"SortOrder": 1,
"CatalogueUid": "b50c8036-7f72-44f1-98a4-5c01c1051f9e",
"Created": "2023-02-05T12:29:21.1783+01:00",
"CreatedBy": "Struct admin",
"LastModified": "2023-04-16T13:29:21.1783+02:00",
"LastModifiedBy": "Struct support",
"HasChildren": true,
"Name": {
"en-GB": "Electronics",
"da-DK": "Elektronik"
},
"Dynamic": false
},
{
"Id": 11,
"SortOrder": 1,
"CatalogueUid": "b50c8036-7f72-44f1-98a4-5c01c1051f9e",
"Created": "2023-02-15T12:29:21.1783+01:00",
"CreatedBy": "Struct admin",
"LastModified": "2023-05-06T13:29:21.1783+02:00",
"LastModifiedBy": "Struct support",
"HasChildren": true,
"Name": {
"en-GB": "Clothing",
"da-DK": "Tøj"
},
"Dynamic": false
}
]
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
uid | path | string |
Unique id of catalogue |
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Id | integer |
Id of category |
ParentId | integer |
Id of category's parent category. Null, if this category is placed in the root of its catalogue |
SortOrder | integer |
Sortorder of the category compared to other categories at the same level in the catalogue |
CatalogueUid | string |
The unique id of the catalogue, this category resides in |
Created | string |
Timestamp of the creation of category |
CreatedBy | string |
Username of user who created this category |
LastModified | string |
Timestamp of last modification of category |
LastModifiedBy | string |
Username of user who did the last modification |
HasChildren | boolean |
Indicates whether this category has any sub categories |
Name | object |
Display name of category (Dictionary of ISO culture code and name) |
Dynamic | boolean |
Indicates whether this category is dynamic (classification handled by PIM) |
QuerySetup | object : DynamicQueryContainer |
Query defining the entities that are placed as part of this category. Only Text, Boolean, Number, DateTime and FixedList is supported. FixedList needs to be specified by reference (Guid). |
Property name | Data type | Description |
---|---|---|
ProductQuery | object : QueryModel |
Definition of the product query, which can be BooleanQueryModel or SimpleQueryModel |
VariantGroupQuery | object : QueryModel |
Definition of the variant group query, which can be BooleanQueryModel or SimpleQueryModel |
Property name | Data type | Description |
---|---|---|
Filters | array : FieldFilterModel |
List of filter conditions |
BooleanOperator | string |
The operator of the query. Can be any of:
|
QueryModelType | string |
The type of query model. Name matches exact name of concrete model implementation |
Property name | Data type | Description |
---|---|---|
SubQueries | array : QueryModel |
Sub queries to execute |
BooleanOperator | string |
The operator of the query. Can be any of:
|
QueryModelType | string |
The type of query model. Name matches exact name of concrete model implementation |
Property name | Data type | Description |
---|---|---|
FieldUid | string |
Uid of field to query |
QueryOperator | string |
Operator to use for query. Can be any of:
|
FilterValue | object |
Value to filter for using the QueryOperator. When QueryOperator is "InList", FilterValue must be an array of values to query for |
GET /catalogues/{uid}/descendants Get all categories in a catalogue
No more than 5000 categories can be requested at a time. If no limit is provided, the default limit of 1000 will be used
{
"Categories": [
{
"Id": 10,
"SortOrder": 1,
"CatalogueUid": "832e60a2-6039-4ff7-a920-4511c87b7865",
"Created": "2023-02-05T12:29:21.1772997+01:00",
"CreatedBy": "Struct admin",
"LastModified": "2023-04-16T13:29:21.1772997+02:00",
"LastModifiedBy": "Struct support",
"HasChildren": true,
"Name": {
"en-GB": "Electronics",
"da-DK": "Elektronik"
},
"Dynamic": false
},
{
"Id": 11,
"SortOrder": 1,
"CatalogueUid": "832e60a2-6039-4ff7-a920-4511c87b7865",
"Created": "2023-02-15T12:29:21.1772997+01:00",
"CreatedBy": "Struct admin",
"LastModified": "2023-05-06T13:29:21.1772997+02:00",
"LastModifiedBy": "Struct support",
"HasChildren": true,
"Name": {
"en-GB": "Clothing",
"da-DK": "Tøj"
},
"Dynamic": false
}
],
"Total": 27,
"Remaining": 25,
"LastId": 11
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
uid | path | string |
Unique id of catalogue |
limit | query | integer |
Max number of categories til return |
afterId | query | integer |
Only return categories with id larger than this |
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Categories | array : CategoryModel |
List of categories in result set |
Total | integer |
The total number of items |
Remaining | integer |
The remaining items that lie after the last id of the item in this result set |
LastId | integer |
The id of the last item in this result set |
Property name | Data type | Description |
---|---|---|
Id | integer |
Id of category |
ParentId | integer |
Id of category's parent category. Null, if this category is placed in the root of its catalogue |
SortOrder | integer |
Sortorder of the category compared to other categories at the same level in the catalogue |
CatalogueUid | string |
The unique id of the catalogue, this category resides in |
Created | string |
Timestamp of the creation of category |
CreatedBy | string |
Username of user who created this category |
LastModified | string |
Timestamp of last modification of category |
LastModifiedBy | string |
Username of user who did the last modification |
HasChildren | boolean |
Indicates whether this category has any sub categories |
Name | object |
Display name of category (Dictionary of ISO culture code and name) |
Dynamic | boolean |
Indicates whether this category is dynamic (classification handled by PIM) |
QuerySetup | object : DynamicQueryContainer |
Query defining the entities that are placed as part of this category. Only Text, Boolean, Number, DateTime and FixedList is supported. FixedList needs to be specified by reference (Guid). |
Property name | Data type | Description |
---|---|---|
ProductQuery | object : QueryModel |
Definition of the product query, which can be BooleanQueryModel or SimpleQueryModel |
VariantGroupQuery | object : QueryModel |
Definition of the variant group query, which can be BooleanQueryModel or SimpleQueryModel |
Property name | Data type | Description |
---|---|---|
Filters | array : FieldFilterModel |
List of filter conditions |
BooleanOperator | string |
The operator of the query. Can be any of:
|
QueryModelType | string |
The type of query model. Name matches exact name of concrete model implementation |
Property name | Data type | Description |
---|---|---|
SubQueries | array : QueryModel |
Sub queries to execute |
BooleanOperator | string |
The operator of the query. Can be any of:
|
QueryModelType | string |
The type of query model. Name matches exact name of concrete model implementation |
Property name | Data type | Description |
---|---|---|
FieldUid | string |
Uid of field to query |
QueryOperator | string |
Operator to use for query. Can be any of:
|
FilterValue | object |
Value to filter for using the QueryOperator. When QueryOperator is "InList", FilterValue must be an array of values to query for |
GET /catalogues/uids Get Uids of all catalogues in the system
[
"72a49fd8-9ae4-4a07-80af-292b83d672dd",
"126f49b2-c612-47ee-a7c8-7c758aa2961d",
"0b572af1-0764-492f-b0b7-374d005e6f2f"
]