About the Product Discount Function API

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