Product Discount Function API overview

The Product Discount API enables you to create a new type of discount that is applied to a particular product or product variant in the cart.