Issues a gift card scoped to the current store. The code is
auto-generated when omitted. currency defaults to the store’s
configured currency. Pass user_id (prefixed ID) to attach the
card to a specific customer.
Required scope: write_gift_cards (for API-key authentication).
Documentation Index
Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Secret API key for admin access
JWT token for admin user authentication
Decimal amount, greater than zero.
"25.00"
ISO 4217 currency code. Defaults to the store currency.
"USD"
Optional caller-supplied code. Auto-generated when omitted.
"WELCOME50"
ISO 8601 date.
"2030-12-31"
Optional customer prefixed ID.
"cus_UkLWZg9DAJ"
gift card created