updateGiftCard

abstract suspend fun updateGiftCard(orderNumberDetail: Int, notes: String?, archive: Boolean)

Archives, unarchives or annotates a gift card in the wallet. Completes when the change is saved.

Parameters

orderNumberDetail
notes

New notes for the card; null preserves the current notes.

archive

true to archive, false to unarchive.

Throws

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