![]() Set this parameter to true to include simple discounts in the pricing calculation. The list of products to calculate prices for. The following table shows the input parameters for the GetActivePrices API. If you see fewer products returned for a GetActivePrices call, you can follow Channel merchandising configuration validator to validate your merchandising configurations. The main use case for the GetActivePrices API is the product details page (PDP), where retailers show the best price for a product, including any effective discounts. ![]() The GetActivePrices API supports the Employee, Customer, Anonymous, and Application Commerce roles. This API can also take a list of products as input and query the price of individual products in bulk. It doesn't calculate multiline discounts, and it assumes that each product in an API request has a quantity of 1. This API gets a product's calculated price, including simple discounts. The GetActivePrices API was introduced in the Commerce version 10.0.4 release. RemoveCoupons – This API removes coupons from a cart.įor more information about how to consume Retail Server APIs in external applications, see Consume Retail Server APIs in external applications.AddCoupons – This API adds coupons to a cart. ![]() GetAvailablePromotions – This API gets applicable discounts for products in the cart.CalculateSalesDocument – This API calculates prices and discounts for products at given quantities if they're bought together.GetActivePrices – This API gets a product's calculated price, including simple discounts.The Dynamics 365 Commerce pricing engine provides the following Retail Server APIs that can be consumed by external applications to support various pricing scenarios: This article describes various pricing APIs that are provided by the Microsoft Dynamics 365 Commerce pricing engine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |