Skip to content

Find gift card

GET/admin/v1/stores/{store_id}/pos/gift-cards

    A usable gift card by its code: its balance and expiry, before the counter uses it.

    Path parameters

    • store_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    Query parameters

    • codestringrequired

      The code as typed or scanned.

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Returns

    200 The card.

    Errors

    • 422validation_failedNo usable card has that code.