Inserts bulk data to the Key-Value Store.
Existing Primary Key combos are overwritten automatically. This is the only command where you explicitly have to specify the automatic “payload” column. While technically you could put any text into that column, other endpoints and Groovy perform JSON conversions (e.g. return a proper map) when you perform key lookups. So inserting a valid JSON into payload is highly recommended!
{- "data": {
- "header": [
- "sku",
- "customer",
- "record",
- "payload"
], - "data": [
- [
- "A1",
- "83-3126689",
- 1,
- "{ ... JSON ... }"
], - [
- "A1",
- "45-0245039",
- 1,
- "{ ... JSON ... }"
], - [
- "A2",
- "02-0995855",
- 1,
- "{ ... JSON ... }"
]
]
}
}
{- "response": {
- "node": "string",
- "data": null,
- "status": 0,
- "startRow": 0,
- "endRow": 0
}
}