The Pricing Storefront APIs interact with discount and order tax entities from the storefront. This involves both public calls that can be accessed by your storefront or custom code and "secure" endpoints that allow calls to be restricted to applications and users with the Discount Read behavior.
Some tips for using different resources of the Pricing Storefront APIs:
- Use the Discounts resource to access storefront discounts with either public or secure calls.
- Use the Products resource to securely retrieve discounts filtered for a specific product.
- Use the Taxes resource to estimate the order tax amount from the storefront.