Skip to content
You are reading the unreleased documentation. No version is released yet, and these pages describe code that is not in a release.

Gift cards (storefront API)

Storefront and customer routes of the gift cards module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.

Check gift card balance

Parameters:

  • code in query (string, pattern /^\S{1,32}$/, required).

Responses:

  • 200: Balance retrieved.
  • 400: Invalid gift card.