Function: applyDiscountToAddress()
applyDiscountToAddress(
session
,id
,discountCode
,query
?):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 |
query ? | UpdateAddressParams |
Returns
Promise
<Address
>