Skip to main content
DELETE
/
gift-cards
/
{gift_card_id}
Delete gift card
using RestSharp;


var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/gift-cards/{gift_card_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);

Console.WriteLine("{0}", response.Content);
{
  "type": "error",
  "code": "unauthorized",
  "status": 401,
  "message": "No valid API authentication found",
  "details": []
}
This endpoint requires the gift-cards.write scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

gift_card_id
string<uuid>
required

The unique ID of a stored gift card.

Example:

"e6cdf979-87e2-4796-8ff6-9784d5aed893"

Response

Returns an empty response.