priceSpecification
Accepts id, businessUnitGroupId, businessUnitId, itemId arguments and returns a single price specification in response.
Either businessUnitGroupId or businessUnitId argument must be provided.
If you want to fetch price specification for specific model item or it's variant, specify argument.
priceSpecification(
id: String
priceId: String
businessUnitGroupId: String
businessUnitId: String
itemId: String
): PriceSpecification
Arguments
priceSpecification.id ● String scalar
The ID of the price specification.
priceSpecification.priceId ● String scalar
The ID of the price specification.
priceSpecification.businessUnitGroupId ● String scalar
The id of the business unit group.
priceSpecification.businessUnitId ● String scalar
The id of the business unit.
priceSpecification.itemId ● String scalar
The id of the item to which the price specification applies.
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.