Item origin
The Frontend API returns items. To provide you with insight as to why an item was put on the spot that it got placed, the origin
field is sometimes included.
<item>
<itemno>10001-101</itemno>
<title>Tweakwise Hoodie Blue</title>
...
<origin>
<type>visual-merchandising</type>
<name>Pinned</name>
</origin>
</item>
{
"itemno": "10001-101",
"title": "Tweakwise Hoodie Blue",
//...
"origin": {
"type": "visual-merchandising",
"name": "Pinned"
}
}
Types
There are a couple of reserved types that are already in use:
- visual-merchandising: pinned products
- external-data: out-of-the-box support for External Data Source
- visual: out-of-the-box support for displaying promotional items
Endpoints
The following endpoints might contain this field:
- Navigation including the grouped variant
- Navigation search including the grouped variant
- Suggestion products including the grouped variant
- Products
- All recommendation endpoints:
Updated 2 months ago