Alokai

GetProductsByCategoryParameters

Definition of graphql parameters for getting products by category

interface GetProductsByCategoryParameters extends BaseParameters {
	before?: string;
	entityId: number;
	hideOutOfStock?: boolean;
	sortBy?: CategoryProductSort;
}

Properties

NameRequiredTypeDescription
beforeOptionalstringCursor-pointer to determine the page the user is in which is before the ID/value
entityIdRequirednumberCategory Entity Id
hideOutOfStockOptionalbooleanDetermine if the list should hide out of stock items
sortByOptionalCategoryProductSortProducts ID

On this page