Skip to main content

Function: applyDiscountToAddress()

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

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

Parameters

ParameterType
sessionSession
idstring | number
discountCodestring
query?UpdateAddressParams

Returns

Promise<Address>