**Version: 202201**

# Disable Gift Card

**POST** `/openapi/2022-01/gift_cards/:id/disable`

Disables a specific gift card using its unique ID.

## Request

**Path Parameters**

- `id` string (required)

  Gift card's ID

## Responses

**200**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `gift_card` object

  - `id` string

    **Example:** `377006280092433706`
  - `last_characters` string

    **Example:** `ghjg`
  - `balance` string

    **Example:** `100.00`
  - `initial_value` string

    **Example:** `100.00`
  - `note` string

    **Example:** `note`
  - `expires_on` string

    **Example:** `2025-11-01T00:00:00Z`
  - `disabled_at` string

    **Example:** `2024-05-07T02:38:01Z`
  - `enabled` boolean

    **Default value:** `true`

    **Example:** `true`
  - `created_at` string

    **Example:** `2024-05-06T10:06:04Z`
  - `updated_at` string

    **Example:** `2024-05-07T02:38:01Z`
  - `status` string

    **Example:** `disable`
  - `currency` string

    **Example:** `USD`
  - `line_item_id`
  - `order_id`
  - `user_id`
  - `template_suffix`
  - `customer_id` string

    **Example:** `8b91ccbd-37d0-4897-aac6-5082e64ca374`

```json
{
  "gift_card": {
    "id": "377006280092433706",
    "last_characters": "ghjg",
    "balance": "100.00",
    "initial_value": "100.00",
    "note": "note",
    "expires_on": "2025-11-01T00:00:00Z",
    "disabled_at": "2024-05-07T02:38:01Z",
    "enabled": true,
    "created_at": "2024-05-06T10:06:04Z",
    "updated_at": "2024-05-07T02:38:01Z",
    "status": "disable",
    "currency": "USD",
    "line_item_id": {},
    "order_id": {},
    "user_id": {},
    "template_suffix": {},
    "customer_id": "8b91ccbd-37d0-4897-aac6-5082e64ca374"
  }
}
```

```json
{
  "gift_card": {
    "id": "377006280092433706",
    "last_characters": "ghjg",
    "balance": "100.00",
    "initial_value": "100.00",
    "note": "note",
    "expires_on": "2025-11-01T00:00:00Z",
    "disabled_at": "2024-05-07T02:38:01Z",
    "enabled": true,
    "created_at": "2024-05-06T10:06:04Z",
    "updated_at": "2024-05-07T02:38:01Z",
    "status": "disable",
    "currency": "USD",
    "line_item_id": null,
    "order_id": null,
    "user_id": null,
    "template_suffix": null,
    "customer_id": "8b91ccbd-37d0-4897-aac6-5082e64ca374"
  }
}
```
