Skip to main content
DELETE
/
gift_cards
/
{id}
curl https://api.thanxsandbox.com/gift_cards/abc123def456 \
  -X DELETE \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${token}" \
  -H "X-ClientId: ${client_id}"
(empty response body)

Documentation Index

Fetch the complete documentation index at: https://docs.thanx.com/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint archives a gift card, effectively removing it from the user’s active gift card list. This is a soft delete — the card data is retained in the system but will no longer appear in standard gift card queries.
Please review proper request headers here.

Parameters

id
string
required
The gift card ID to archive

Response

Returns 204 No Content on success with an empty response body.
curl https://api.thanxsandbox.com/gift_cards/abc123def456 \
  -X DELETE \
  -H "Content-Type: application/json"  \
  -H "Accept-Version: v4.0" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${token}" \
  -H "X-ClientId: ${client_id}"
(empty response body)