Skip to main content

Ingest data

Now for ingesting some data. As mentioned this is dummy data, so feel free to change it as you see fit. For a real-life solution, an integration is of course required, you can see which integrations we already have saving you the trouble.

Take a look at how to ingest data here: https://docs.enterspeed.com/api#tag/Ingest

CMS

info

Use the API key from your Product List Demo (CMS) when ingesting.

CMS Product List

First, we want to create the Product list that comes from the CMS and holds settings such as which URL it should be available at.

Use this snippet for ingesting:

{
"type": "ProductList",
"url": "/product-list",
"properties": {
"headline": "Browse our categories",
"lead": "We have headsets, retro cameras, cars, old school tapes and watches! If we don’t have it we will get it for you! You get a car, you get headset and you get a gameboy!"
}
}

CMS Product List Use the API key from your Product List Demo (CMS) when ingesting and note the id.

PIM

info

Use the API key from your Product List Demo (PIM).

PIM categories

Then we need to create the PIM categories, you can create as many as you want.

And here are some snippets:

id: pim-category-1
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "headsets.jpg",
"title": "Headsets",
"lead": "We have headsets. Over-under-in-ear, noise canceling and whatever you like.",
"button": "Your new headset"
}
}
id: pim-category-2
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "cameras.jpg",
"title": "Retro cameras",
"lead": "Digital is soo last year, keep your hands busy and your hipster level to the maximum.",
"button": "Keep your hands busy"
}
}
id: pim-category-3
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "tape.jpg",
"title": "Tapes",
"lead": "We are not saying you are old, but if you remember these you probably want to buy a pencil to go with it.",
"button": "Manually rewind"
}
}
id: pim-category-4
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "watches.jpg",
"title": "Very clean watches",
"lead": "The design of these are so clean, that Apple will be jealous (they actually get their inspiration from us).",
"button": "Squeaky clean"
}
}
id: pim-category-5
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "car.jpg",
"title": "Cars!",
"lead": "You know cars? Like back in the day where you would get you daily workout, just by turning the steering wheel.",
"button": "Just cars!"
}
}
id: pim-category-6
{
"type": "PimCategory",
"url": null,
"properties": {
"image": "gameboy.jpg",
"title": "Retro gaming consoles",
"lead": "Everybody has these, if not they want one. With mediocre graphics and gameplay, this is a must.",
"button": "Retro mediocre"
}
}