getDiscount( )


Deprecated

This method is deprecated and was replaced with getDiscountRule.

Retrieves a discount.

Permissions
Read Restaurant Catalogs
Learn more about app permissions.
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?