new CollectionListing(shopify)
Creates a CollectionListing instance.
Parameters:
Name | Type | Description |
---|---|---|
shopify |
Shopify | Reference to the Shopify instance |
Methods
productIds(id, paramsopt) → {Promise}
Retrieves product IDs that are published to a particular collection.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
id |
Number | Collection ID | |
params |
Object |
<optional> |
Query parameters |
Returns:
Promise that resolves with the result
- Type
- Promise