addFavoriteMerchant

abstract suspend fun addFavoriteMerchant(merchantId: Int)

Marks a merchant as a favorite of the member. Completes when the favorite is saved.

Parameters

merchantId

Id of the merchant to favorite.

Throws

if the request fails - an AFException carrying the server's message when the change is refused.