get-products-by-collection
Retrieve products from a specific Shopify collection by providing the collection ID and optional limit, streamlining catalog management and product organization.
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"
}