Skip to content
FlexiPedia logo

Shopify Native Actions - Products

Flexito OmniAI offers a suite of actions to enhance your Shopify store management, from retrieving detailed product information to exploring collections. Whether you're looking to streamline product searches or gather insights on product variants, these actions can significantly

Flexito OmniAI
Beginnerv4
Read in:

Listen to an audio overview

A short, AI-generated podcast-style summary of this article.

Flexito OmniAI offers a suite of actions to enhance your Shopify store management, from retrieving detailed product information to exploring collections. Whether you're looking to streamline product searches or gather insights on product variants, these actions can significantly improve your store's efficiency and customer experience.

This section covers the actions related to "Products & Collections". Flexito OmniAI allows you to perform the following customer-related actions:

  • Search for products

  • Retrieve product information

  • Access product images

  • Discover product variants

  • Explore custom collections

  • Investigate smart collections

  • Access collection information

  • Retrieve products within a collection

Let's explore each of these actions in detail.

Retrieve Products

This function allows you to access products on your Shopify store using parameters like product ID, title, or vendor.

Input Details

Response Details

{
"products": [
{
"id": ,
"title": "2 in 1 Gold MacBook Riser & Stand",
"body_html": "Model Number: For Tablet PC StandMaterial: MetalFeature: Tablet Holder Mount for iPad & phone &TabletModel number: For Macbook Pro 13 15Material: Aluminum alloytablet stands: For Macbook Retina 12 13 15Stand for Tablet: For Ipad mini 1 2 3 4 ",
"vendor": "hapans",
"product_type": "Electronics",
"handle": "2-in-1-gold-macbook-riser-stand",
"variants": [
{
"id": ,
"product_id": ,
"title": "silver",
"price": "47.99",
"sku": "-silver",
"position": 1,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "silver",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T02:39:56-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 989,
"old_inventory_quantity": 989,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/"
},
{
"id": ,
"product_id": ,
"title": "gold",
"price": "47.99",
"sku": "-gold",
"position": 2,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "gold",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T13:26:56-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 998,
"old_inventory_quantity": 998,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/"
},
{
"id": ,
"product_id": ,
"title": "rose gold",
"price": "47.99",
"sku": "-rose-gold",
"position": 3,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "rose gold",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T00:53:05-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 999,
"old_inventory_quantity": 999,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/"
}
],
"options": [
{
"id": ,
"product_id": ,
"name": "Color",
"position": 1,
"values": [
"silver",
"gold",
"rose gold"
]
}
],
"images": [
{
"id": ,
"product_id": ,
"position": 1,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 800,
"src": "",
"variant_ids": [
],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 2,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 640,
"height": 640,
"src": "",
"variant_ids": [
,

],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 3,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 640,
"height": 640,
"src": "",
"variant_ids": [

],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 4,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 800,
"src": "",
"variant_ids": [...], // 0 items
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 5,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 632,
"src": "",
"variant_ids": [...], // 0 items
"admin_graphql_api_id": "gid://shopify/ProductImage/"
}
],
"image": ""
}
]
}

Retrieve Product Information

Use this action to obtain details about a specific product by providing its product ID.

Input Details

Response Details

{
"product": {
"id": ,
"title": "2 in 1 Gold MacBook Riser & Stand",
"body_html": "Model Number: For Tablet PC StandMaterial: MetalFeature: Tablet Holder Mount for iPad & phone &TabletModel number: For Macbook Pro 13 15Material: Aluminum alloytablet stands: For Macbook Retina 12 13 15Stand for Tablet: For Ipad mini 1 2 3 4 ",
"vendor": "hapans",
"product_type": "Electronics",
"handle": "2-in-1-gold-macbook-riser-stand",
"variants": [
{
"id": ,
"product_id": ,
"title": "silver",
"price": "47.99",
"sku": "-silver",
"position": 1,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "silver",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T02:39:56-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 989,
"old_inventory_quantity": 989,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/",
"image": ""
},
{
"id": ,
"product_id": ,
"title": "gold",
"price": "47.99",
"sku": "-gold",
"position": 2,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "gold",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T13:26:56-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 998,
"old_inventory_quantity": 998,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/",
"image": ""
},
{
"id": ,
"product_id": ,
"title": "rose gold",
"price": "47.99",
"sku": "-rose-gold",
"position": 3,
"inventory_policy": "deny",
"compare_at_price": null,
"fulfillment_service": "manual",
"inventory_management": "shopify",
"option1": "rose gold",
"option2": null,
"option3": null,
"created_at": "T08:20:46-04:00",
"updated_at": "T00:53:05-04:00",
"taxable": false,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_item_id": ,
"inventory_quantity": 999,
"old_inventory_quantity": 999,
"requires_shipping": true,
"admin_graphql_api_id": "gid://shopify/ProductVariant/",
"image": ""
}
],
"options": [
{
"id": ,
"product_id": ,
"name": "Color",
"position": 1,
"values": [
"silver",
"gold",
"rose gold"
]
}
],
"images": [
{
"id": ,
"product_id": ,
"position": 1,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 800,
"src": "",
"variant_ids": [
],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 2,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 640,
"height": 640,
"src": "",
"variant_ids": [
,

],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 3,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 640,
"height": 640,
"src": "",
"variant_ids": [

],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 4,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 800,
"src": "",
"variant_ids": [...], // 0 items
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 5,
"created_at": "T08:20:46-04:00",
"updated_at": "T23:39:36-04:00",
"alt": null,
"width": 800,
"height": 632,
"src": "",
"variant_ids": [
],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
}
],
"image": ""
}
}

Retrieve Product Images

This action fetches images of a product and its variants using the product IDs.

Input Details

Response Details

{
"images": [
{
"id": ,
"product_id": ,
"position": 1,
"width": 800,
"height": 800,
"src": ""
},
{
"id": ,
"product_id": ,
"position": 2,
"width": 640,
"height": 640,
"src": ""
},
{
"id": ,
"product_id": ,
"position": 3,
"width": 640,
"height": 640,
"src": ""
},
{
"id": ,
"product_id": ,
"position": 4,
"width": 800,
"height": 800,
"src": ""
},
{
"id": ,
"product_id": ,
"position": 5,
"width": 800,
"height": 632,
"src": ""
}
]
}

Retrieve Product Variants

Use this action to get information about a product's variants by using its product ID.

Input Details

Response Details

{
"variants": [
{
"id": ,
"product_id": ,
"title": "silver",
"price": "47.99",
"sku": "-silver",
"position": 1,
"compare_at_price": null,
"option1": "silver",
"option2": null,
"option3": null,
"barcode": null,
"grams": 0,
"image_id": ,
"weight": 0,
"weight_unit": "kg",
"inventory_quantity": 989
}
]
}

Search Custom Collections

This action helps you find custom collections available for your products on your Shopify store.

Input Details

Response Details

{
"custom_collections": [
{
"id": ,
"handle": "frontpage",
"title": "Best Selling Products",
"body_html": "<p>Here is our Best selling products.</p> <p>The tips &amp; tricks will power your Shopify store with MUCH More AWESOME data!</p>",
"sort_order": "best-selling",
"image": {
"created_at": "T00:24:01-04:00",
"alt": null,
"width": 900,
"height": 900,
"src": ""
}
}
]
}

Search Smart Collections

This action allows you to access the smart collections of products on your Shopify store.

Input Details

Response Details

{
"smart_collections": [
{
"id": ,
"handle": "backpack-collection",
"title": "Backpack collection",
"body_html": "get your backpack and start enjoying your life outdoors!",
"sort_order": "best-selling",
"rules": [
{
"column": "tag",
"relation": "equals",
"condition": "backpack"
}
],
"image": {
"created_at": "T00:23:00-04:00",
"alt": null,
"width": 900,
"height": 900,
"src": ""
}
},
{
"id": ,
"handle": "electronics",
"title": "Electronics",
"body_html": "Looks for the digital gadget you can't live out with. more information here.",
"sort_order": "best-selling",
"rules": [
{
"column": "tag",
"relation": "equals",
"condition": "Electronics"
}
],
"image": {
"created_at": "T00:21:47-04:00",
"alt": null,
"width": 900,
"height": 900,
"src": ""
}
}
]
}

Retrieve Collection Information

Use this action to get details about a collection by using its collection ID.

Input Details

Response Details

{
"collection": {
"id": ,
"handle": "backpack-collection",
"title": "Backpack collection",
"updated_at": "T07:42:25-05:00",
"body_html": "get your backpack and start enjoying your life outdoors!",
"published_at": "T21:07:11-04:00",
"sort_order": "best-selling",
"template_suffix": "",
"products_count": 7,
"disjunctive": false,
"collection_type": "smart",
"rules": [
{
"column": "tag",
"relation": "equals",
"condition": "backpack"
}
],
"published_scope": "web",
"admin_graphql_api_id": "gid://shopify/Collection/",
"image": {
"created_at": "T00:23:00-04:00",
"alt": null,
"width": 900,
"height": 900,
"src": ""
}
}
}

Retrieve Collection Products

This action fetches products associated with a specific collection using the collection ID.

Input Details

Response Details

{
"products": [
{
"id": ,
"title": "Mochila Backpack",
"body_html": " ★LOTS OF STORAGE SPACE&amp;POCKETS: One separate laptop compartment hold 15.6 Inch Laptop as well as 15 Inch,14 Inch and 13 Inch Macbook/Laptop. One spacious packing compartment roomy for daily necessities,tech electronics accessories. Front compartment with many pockets, pen pockets and key fob hook, make your items organized and easier to find ★COMFY&amp;STURDY: Comfortable airflow back design with thick but soft multi-panel ventilated padding, gives you maximum back support. Breathable and adjustable shoulder straps relieve the stress of shoulder. Foam padded top handle for a long time carry on ★FUNCTIONAL&amp;SAFE: A luggage strap allows backpack fit on luggage/suitcase, slide over the luggage upright handle tube for easier carrying. With a hidden anti theft pocket on the back protect your valuable items from thieves. Well made for international airplane travel and day trip ★USB PORT DESIGN: With built in USB charger outside and built in charging cable inside,this usb backpack offers you a more convenient way to charge your phone while walking. Please noted that this backpack doesn't power itself, usb charging port only offers an easy access to charge ★DURABLE MATERIAL&amp;SOLID: Made of Water Resistant and Durable Polyester Fabric with metal zippers.Ensure a secure &amp; long-lasting usage everyday &amp; weekend.Serve you well as professional office work bag,slim USB charging bagpack,college high school big student backpack for boys,girls,teens,adults ",
"vendor": "hapans",
"product_type": "backpack",
"handle": "mochila-backpack",
"options": [
{
"id": ,
"product_id": ,
"name": "Color",
"position": 1
},
{
"id": ,
"product_id": ,
"name": "Size",
"position": 2
}
],
"images": [
{
"id": ,
"product_id": ,
"position": 1,
"created_at": "T08:22:39-04:00",
"updated_at": "T23:39:37-04:00",
"alt": null,
"width": 800,
"height": 800,
"src": "",
"variant_ids": [

],
"admin_graphql_api_id": "gid://shopify/ProductImage/"
},
{
"id": ,
"product_id": ,
"position": 2,
"created_at": "T08:22:39-04:00",
"updated_at": "T23:39:37-04:00",
"alt": null,
"width": 430,
"height": 430,
"src": "",
"variant_ids": [...], // 1 items
"admin_graphql_api_id": "gid://shopify/ProductImage/"
}
],
"image": ""
}
]
}

  • Input (#ShopifyNativeActions-Products-Input.1)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.1)

  • Input (#ShopifyNativeActions-Products-Input.2)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.2)

  • Input (#ShopifyNativeActions-Products-Input.3)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.3)

  • Input (#ShopifyNativeActions-Products-Input.4)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.4)

  • Input (#ShopifyNativeActions-Products-Input.5)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.5)

  • Input (#ShopifyNativeActions-Products-Input.6)

  • Response Payload (#ShopifyNativeActions-Products-ReponsePayload)

  • Input (#ShopifyNativeActions-Products-Input.7)

  • Response Payload (#ShopifyNativeActions-Products-ResponsePayload.6)