Skip to main content
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 stringrequired

    Gift card's ID

Responses

200

Schema
    gift_card object
    idstring
    Example: 377006280092433706
    last_charactersstring
    Example: ghjg
    balancestring
    Example: 100.00
    initial_valuestring
    Example: 100.00
    notestring
    Example: note
    expires_onstring
    Example: 2025-11-01T00:00:00Z
    disabled_atstring
    Example: 2024-05-07T02:38:01Z
    enabledboolean
    Default value: true
    Example: true
    created_atstring
    Example: 2024-05-06T10:06:04Z
    updated_atstring
    Example: 2024-05-07T02:38:01Z
    statusstring
    Example: disable
    currencystring
    Example: USD
    line_item_id
    order_id
    user_id
    template_suffix
    customer_idstring
    Example: 8b91ccbd-37d0-4897-aac6-5082e64ca374