Alokai

GetProductByIdParameters

Definition of graphql parameters for getting product by id

interface GetProductByIdParameters extends BaseParameters {
	currencyCode?: CurrencyCode;
	entityId?: number;
	hideOutOfStock?: boolean;
	includeCustomFields?: boolean;
	includeModifiers?: boolean;
	includeOptions?: boolean;
	modifiersLimit?: number;
	modifiersPage?: number;
	optionsLimit?: number;
	optionsPage?: number;
	variantsAfter?: string;
	variantsLimit?: number;
}

Properties

NameRequiredTypeDescription
currencyCodeOptionalCurrencyCodeCurrency Code e.g USD, GBP, EUR
entityIdOptionalnumberProduct Entity ID e.g (117, 144, 12)
hideOutOfStockOptionalbooleanDetermine if the list should hide out of stock items
includeCustomFieldsOptionalbooleanInclude custom fields
includeModifiersOptionalbooleanInclude modifiers
includeOptionsOptionalbooleanInclude options
modifiersLimitOptionalnumberLimit the number of modifiers returned max 50 only
modifiersPageOptionalnumberPage number of modifiers
optionsLimitOptionalnumberLimit the number of options returned max 50 only
optionsPageOptionalnumberPage number of options
variantsAfterOptionalstringCursor-pointer to determine the page the user is in which is before the ID/value
variantsLimitOptionalnumberLimit the number of variants returned

Referenced Types

On this page