Alokai

GetProductsByIdParameters

Definition of graphql parameters for getting products by id

interface GetProductsByIdParameters extends BaseParameters {
	currencyCode?: CurrencyCode;
	entityIds?: number[];
	hideOutOfStock?: boolean;
	ids?: string[];
	optionsLimit?: number;
	variantsLimit?: number;
}

Properties

NameRequiredTypeDescription
currencyCodeOptionalCurrencyCodeCurrency Code e.g USD, GBP, EUR
entityIdsOptionalnumber[]Products Entity ID e.g (117, 144, 12)
hideOutOfStockOptionalbooleanDetermine if the list should hide out of stock items
idsOptionalstring[]Products GraphQL Key/IDs e.g (8sdf7df7df8, 8fg74hhdd)
optionsLimitOptionalnumberLimit the number of options returned
variantsLimitOptionalnumberLimit the number of variants returned

Referenced Types

On this page