put
https://api.smoothpos.net/giftcard.json
Changes a gift card's expiry date and metadata. Smooth POS finds the card by its serial, not its id, and only expiration and metadata are saved. Everything else in the body, including the balance, customer and amounts, is ignored.
Always send expiration
expirationThe expiry is set to whatever you send, so leaving it out clears it. Send the card's current expiry if you only want to change metadata.
Fires the giftcard_update system hook with the card before and after the change.
Required permission:
| Group | Permission |
|---|---|
| Customers | Create, edit and delete gift cards; manage = issue and extend (includes view) |
