Skip to main content

priceSpecificationsByItem

Accepts itemId, businessUnitGroupId, businessUnitId, currentOnly, type arguments and returns all/filtered Price Specifications for specified Business Unit or Business Unit Group item.

By default excludes DELETED Price Specifications.

priceSpecificationsByItem(
itemId: String!
businessUnitGroupId: String
businessUnitId: String
currentOnly: Boolean
type: PriceType
): [PriceSpecification]

Arguments

priceSpecificationsByItem.itemId ● String! non-null scalar

The ID of the Item.

priceSpecificationsByItem.businessUnitGroupId ● String scalar

The ID of the Business Unit Group.

priceSpecificationsByItem.businessUnitId ● String scalar

The ID of the Business Unit.

priceSpecificationsByItem.currentOnly ● Boolean scalar

Select only current Price Specifications. The default value is false.

priceSpecificationsByItem.type ● PriceType enum

The type of Price Specification to filter by.

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.