getDiscount( )


Deprecation Warning

This method will be deprecated on September 30, 2025.
Replace with getDiscountRule.

Retrieves a discount.

Method Declaration
Copy
Method Parameters
identifiersGetDiscountIdentifiersRequired
Returns
Return Type:Promise<Discount>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?