getProductsInCollection(int
collection_id, int
items_per_page)¶
The getProductsInCollection method is used to get the ProductsList object that represents a list of products in given collection. Method requires collection id parameter.
Input parameters¶
collection_id¶
int
Id of collection of products. Parameter is required.
items_per_page¶
int
Number of items in a page of internal paginator. Parameter is optional. Default value is 16.
Returned value¶
The ProductsList object.