priceProducts

Calculate batch pricing for products for a specific channel, currency, and customer group.

Arguments

storeHashStringOptional
Store hash.
channelIdIntegerOptional
The channel ID that pricing evaluates within.
currencyCodeStringRequired
The currency code of prices this request returns. This field is required.
customerGroupIdIntegerOptional
The customer group ID that's relevant for any customer group pricing, tax values, etc.
itemslist of optional ObjectsRequired
The items for which to fetch prices. This field is required.

Returns

an optional list of optional Objects
productIdInteger
The product ID of the item.
variantIdInteger
The variant ID of the item.
optionslist of optional Objects
The optional product option configuration for this generated price.
referenceRequestObject
You can use the original details of the request to identify the exact product variant and fetch prices.
retailPriceObject

The (optional) RRP/retail price configured for this product and used for price comparison and storefront display purposes.

salePriceObject

The merchant-entered sale price for a product overwrites the default price. The sale_price is optional.

minimumAdvertisedPriceObject

The minimum advertised price (MAP) you can display on a storefront. A value supplied by the merchant and used for display purposes.

savedObject

The amount that merchants save, determined by the difference between retail_price and calculated_price

priceObject

The merchant-entered price for a product, which could include or exclude tax. When creating a product, you must define the price, which serves as the default price.

calculatedPriceObject

The shopper price for a product, which includes modifier, option, and option set rules. The calculated_price may include or exclude estimates for tax.

priceRangeObject

The minimum and maximum price that will typically apply to this product. Only used for complex products (products with variants).

retailPriceRangeObject

The productʼs variants that will typically apply to this product.

bulkPricinglist of optional Objects
The bulk pricing rules that apply to this product.