get-products-by-collection
Retrieve products from a Shopify collection by specifying the collection ID. Define a limit to control the number of products returned. Streamlines product data access for targeted collections.
Instructions
Get products from a specific collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionId | Yes | ID of the collection to get products from | |
limit | No | Maximum number of products to return |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"collectionId": {
"description": "ID of the collection to get products from",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of products to return",
"type": "number"
}
},
"required": [
"collectionId"
],
"type": "object"
}