GetProductsByCategoryParameters
Definition of graphql parameters for getting products by category
interface GetProductsByCategoryParameters extends BaseParameters {
before?: string;
entityId: number;
hideOutOfStock?: boolean;
sortBy?: CategoryProductSort;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
before | Optional | string | Cursor-pointer to determine the page the user is in which is before the ID/value |
entityId | Required | number | Category Entity Id |
hideOutOfStock | Optional | boolean | Determine if the list should hide out of stock items |
sortBy | Optional | CategoryProductSort | Products ID |