The calculateItemPriceSummary Web service takes a SKU ID, product ID, quantity, profile ID, and a locale, and prices the item based on the information given. The information is returned in an ItemPriceSummary object.

Servlet name

calculateItemPriceSummary

Input Parameters

skuId – (Optional) The SKU ID of the item to be priced. If productId is null, then skuId is required.
productId – (Optional) The product Id of the item to be priced. If skuId is null, then productId is required.
quantity - The quantity of the item to be considered when pricing
profileId – (Optional) The ID of the profile to be considered when pricing. If this is null, then the current user is used.
locale – (Optional) String representing the locale to be considered when pricing. If this is null, the locale of the current user is used.

Output

ItemPriceSummary - An object containing the price information for the given item

Web Service Class

atg.commerce.pricing.PricingServices

Nucleus Component

/atg/commerce/pricing/PricingServices

Method

calculateItemPriceSummary(String pSkuId, String pProductId, long pQuantity, String pProfileId, String pLocale)

Executes within a session

Yes

WSDL URL

http://host:port/commerce/pricing/calculateItemPriceSummary?WSDL

Endpoint URL

http://host:port/commerce/pricing/calculateItemPriceSummary/calculateItemPriceSummary

Security FunctionalName

itemPricing

 
loading table of contents...