The calculateOrderPrice Web service takes an order ID and a locale, prices the order, creates and returns an OrderPrice object based on the information in the priced order.

Servlet name

calculateOrderPrice

Input Parameters

orderId – The ID of the order to be priced.
locale – (Optional) String representing the locale to be considered when pricing. If this parameter is null, then the order owner’s locale will be used. This will usually be null.

Output

OrderPrice - an object containing the complete price information for the given order

Web Service Class

atg.commerce.pricing.PricingServices

Nucleus Component

/atg/commerce/pricing/PricingServices

Method

calculateOrderPrice(String pOrderId, String pLocale)

Executes within a session

Yes

WSDL URL

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

Endpoint URL

http://host:port/commerce/pricing/calculateOrderPrice/calculateOrderPrice

Security FunctionalName

orderPricing