Skip to main content

useApplyGiftCardChange
hook

Returns a function to add or remove gift cards.

Caution

See security considerations if your extension retrieves gift card codes through a network call.

Anchor to useApplyGiftCardChange
useApplyGiftCardChange()

(change: ) => Promise<>
Was this section helpful?