EnrichmentInsightSetups
Enrichment insight setups are used to define insights that are continuously calculated for products, variants or categories in the system. The Enrichment insight setup defines which data is required for an entity to be considered 100% fulfilled for the insight setup in question.
#Available from v.3.5.0
GET /v1/enrichmentinsightsetups HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"EntityType": 10,
"Alias": "text",
"Label": "text",
"Setup": [
{
"ConfigurationUid": "123e4567-e89b-12d3-a456-426614174000",
"CategoryId": 1,
"RequiredData": [
{
"Type": "text",
"DataReference": "text"
}
]
}
]
}
]
#Available from v.3.5.0
Model defining setup of an enrichment insight
Unique id of enrichment insight setup
Enum representing each supported entity type in enrichment insights engine
Unique alias of this insight setup
Presented name of this enrichment insight setup
POST /v1/enrichmentinsightsetups HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 233
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"EntityType": 10,
"Alias": "text",
"Label": "text",
"Setup": [
{
"ConfigurationUid": "123e4567-e89b-12d3-a456-426614174000",
"CategoryId": 1,
"RequiredData": [
{
"Type": "text",
"DataReference": "text"
}
]
}
]
}
OK
No content
#Available from v.3.5.0
Model defining setup of an enrichment insight
Unique id of enrichment insight setup
Enum representing each supported entity type in enrichment insights engine
Unique alias of this insight setup
Presented name of this enrichment insight setup
PUT /v1/enrichmentinsightsetups HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 233
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"EntityType": 10,
"Alias": "text",
"Label": "text",
"Setup": [
{
"ConfigurationUid": "123e4567-e89b-12d3-a456-426614174000",
"CategoryId": 1,
"RequiredData": [
{
"Type": "text",
"DataReference": "text"
}
]
}
]
}
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"EntityType": 10,
"Alias": "text",
"Label": "text",
"Setup": [
{
"ConfigurationUid": "123e4567-e89b-12d3-a456-426614174000",
"CategoryId": 1,
"RequiredData": [
{
"Type": "text",
"DataReference": "text"
}
]
}
]
}
#Available from v.3.5.0
Unique id of Enrichment Insight
GET /v1/enrichmentinsightsetups/{uid} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"EntityType": 10,
"Alias": "text",
"Label": "text",
"Setup": [
{
"ConfigurationUid": "123e4567-e89b-12d3-a456-426614174000",
"CategoryId": 1,
"RequiredData": [
{
"Type": "text",
"DataReference": "text"
}
]
}
]
}
#Available from v.3.5.0
Type of entity (Category, Product or Variant)
Uid of configuration (product structure or catalogue) to get available data references for
CategoryId to get data references for
GET /v1/enrichmentinsightsetups/{entityType}/availabledatareferences HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"Name": "text",
"Type": "text",
"DataReference": "text"
}
]