Find gift card
GET
/ admin/ v1/ stores/ {store_id}/ pos/ gift-cardsA usable gift card by its code: its balance and expiry, before the counter uses it.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Query parameters
codestringrequiredThe code as typed or scanned.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 The card.
Errors
- 422
validation_failedNo usable card has that code.