Function: applyDiscountToAddress()
applyDiscountToAddress(session
, id
, discountCode
): Promise
<Address
>
Apply discount code to an address. Addresses are currently limited to a single discount.
Parameters
Parameter | Type |
---|
session | Session |
id | string | number |
discountCode | string |
Returns
Promise
<Address
>