Skip to main content

itemPriceSpecifications

DEPRECATED

This query is deprecated. Use 'priceSpecificationsByItem' query instead.

Accepts itemId, businessUnitGroupId, businessUnitId, optional sorting and filtering parameters and returns either all or first N item price specifications for specified business unit and/or business unit group.

By default excludes DELETED Price Specifications. Might be changed if includeDeleted flag set to true.

Either businessUnitGroupId or businessUnitId argument must be provided.

itemPriceSpecifications(
itemId: String!
businessUnitGroupId: String
businessUnitId: String
first: Int
sort: SortingParamsInput
filter: ItemPricesFilteringParamsInput
): [PriceSpecification] @deprecated

Arguments​

itemPriceSpecifications.itemId ● String! non-null scalar​

The item identifier.

itemPriceSpecifications.businessUnitGroupId ● String scalar​

The business unit group identifier.

itemPriceSpecifications.businessUnitId ● String scalar​

The business unit identifier.

itemPriceSpecifications.first ● Int scalar​

The number of results to be returned. If not specified, all item price specifications will be returned.

itemPriceSpecifications.sort ● SortingParamsInput input​

The sorting parameters.

itemPriceSpecifications.filter ● ItemPricesFilteringParamsInput input​

The filtering parameters.

Type​

PriceSpecification object​

The PriceSpecification entity is the HiiRetail representation of a currency-specific value related to a Product. It might be a Purchase PriceSpecification in which it states what the Product is purchased for from a Supplier. It might be a Sales PriceSpecification that indicates what the Product is sold for in a sales process.

A product MUST have a PriceSpecification. There must always be a Default PriceSpecification on a Product to make sure any downstream usage always has a valid Gross Profit calculation available. Usually a Default PriceSpecification is not enough, and a minimum of one Sales PriceSpecification must exist too.