hi Matthias,
version: 7.6.2
sample json;
{
"AmendIdnt": [
{
"amendment_id": "1664258007845::235",
"ProductAmend": [
{
"rms_item": "215352077",
"ean": "",
"season_code": 200,
"phase_code": 1,
"ProductAmendLocations": [
{
"location_id": 4701,
"action": "R",
"selling_retail": 5.5
},
{
"location_id": 3871,
"action": "R",
"selling_retail": 6.75
},
{
"location_id": 3471,
"action": "R",
"selling_retail": 7
},
{
"location_id": 3671,
"action": "R",
"selling_retail": 64
},
{
"location_id": 3451,
"action": "R",
"selling_retail": 72
},
{
"location_id": 3351,
"action": "R",
"selling_retail": 72
},
{
"location_id": 125,
"action": "R",
"selling_retail": 64
}
],
"ProductAmendSupplier": [
{
"supplier_site_id": 124174801,
"unit_cost": 0.001
}
]
}
]
}
]
}
mapping:
"AmendIdnt": {
"properties": {
"amendment_id": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
},
"ProductAmend": {
"properties": {
"phase_code": {
"type": "long"
},
"ean": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
},
"item_desc": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
},
"season_code": {
"type": "long"
},
"rms_item": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
}
}
}
}
}
Regards,
Kadir