I have executed the Catalog Search API and I wanted to know the difference between the main Catalog Object and the Catalog Object inside the variations
array inside the item_data
attribute of the said catalog object.
For example in the below example JSON:
{
"type": "ITEM",
"id": "MAIN_CATALOG_OBJECT_ID",
...
"item_data": {
...,
"variations": [
{
"type": "ITEM_VARIATION",
"id": "ITEM_DATA_VARIATION_CATALOG_OBJECT_ID",
"updated_at": "2020-11-16T02:35:32.629Z",
"version": 1605494132629,
"is_deleted": false,
"present_at_all_locations": false,
"present_at_location_ids": [
...
],
"item_variation_data": {
...
}
}
],
...
}
}
What is the difference between the Catalog Object represented by the MAIN_CATALOG_OBJECT_ID
and the ITEM_DATA_VARIATION_CATALOG_OBJECT_ID
?
Are there attributes exclusive to the ITEM_DATA_VARIATION_CATALOG_OBJECT_ID based Catalog Object? Or will this catalog object with id ITEM_DATA_VARIATION_CATALOG_OBJECT_ID not be available directly via the Catalog APIs like list and search?
Please do let us know. Thanks