Skip to main content

Function: applyDiscountToAddress()

applyDiscountToAddress(session, id, discountCode): Promise<Address>

Apply discount code to an address. Addresses are currently limited to a single discount.

Parameters

ParameterType
sessionSession
idstring | number
discountCodestring

Returns

Promise<Address>