---
title: "Create, update, deactivate, or send TripGift eGift cards."
method: POST
path: "/api/tripgift-giftcard"
tags: ["TripGift"]
---

# Create, update, deactivate, or send TripGift eGift cards.

`POST /api/tripgift-giftcard`

## Request body

- GiftCardRequest — Gift card request model
  - `apiKey` string, required — API Key
  - `requestType` string, required — Request type
  - `giftCardCode` string, nullable — Gift card code
  - `currency` string, nullable — Currency code
  - `totalAmount` number, double, nullable — Gift card total
  - `giftCardCount` integer, nullable — Gift card count
  - `isOneTimeUse` string, nullable — Kept as string because the legacy API uses 1/0/activate/deactivate.
  - `isEnabled` string, nullable — Is enabled
  - `subClientID` string, nullable — Sub client-id
  - `subClientCountry` string, nullable — Sub-client country
  - `subClientCity` string, nullable — Sub-client city
  - `subClientOutlet` string, nullable — Sub-client outlet
  - `recipientEmail` string, nullable — Recipient email
  - `recipientFirstName` string, nullable — Recipient first name
  - `recipientLastName` string, nullable — Recipient last name
  - `customerEmail` string, nullable — Customer email
  - `customerFirstName` string, nullable — Customer first name
  - `customerLastName` string, nullable — Customer last name
  - `emailTitle` string, nullable — Email title
  - `emailMessage` string, nullable — Email message
  - `sendNow` string, nullable — Legacy value format: 1/0.
  - `sendDate` string, nullable — Legacy value format: yyyyMMdd.

## Response `200`

OK

- GiftCardResponse — Gift card response model
  - `statusMessage` string, nullable — Status message
  - `requestType` string, nullable — Request type
  - `giftCardCode` string, nullable — Gift card code
  - `currency` string, nullable — Currency code
  - `totalAmount` number, double, nullable — Gift card total
  - `giftCardCount` integer, nullable — Gift card count
  - `isEnabled` string, nullable — Is enabled
  - `subClientID` string, nullable — Sub client-id
  - `subClientCountry` string, nullable — Sub-client country
  - `subClientCity` string, nullable — Sub-client city
  - `subClientOutlet` string, nullable — Sub-client outlet
  - `giftCardList` GiftCardItem[], nullable — Gift card created list
    - `code` string, nullable
    - `totalAmount` number, double
    - `currency` string, nullable
    - `giftCardIsOneTimeUse` string, nullable
    - `giftCardSubClientID` string, nullable
    - `subClientCountry` string, nullable
    - `subClientCity` string, nullable
    - `subClientOutlet` string, nullable
    - `isOneTimeUse` string, nullable
    - `isEnabled` string, nullable
  - `giftCardRequestSent` GiftCardRequestSent — Model of request sent
    - `giftCardRequest` GiftCardRequest — Gift card request model
      - `apiKey` string, required — API Key
      - `requestType` string, required — Request type
      - `giftCardCode` string, nullable — Gift card code
      - `currency` string, nullable — Currency code
      - `totalAmount` number, double, nullable — Gift card total
      - `giftCardCount` integer, nullable — Gift card count
      - `isOneTimeUse` string, nullable — Kept as string because the legacy API uses 1/0/activate/deactivate.
      - `isEnabled` string, nullable — Is enabled
      - `subClientID` string, nullable — Sub client-id
      - `subClientCountry` string, nullable — Sub-client country
      - `subClientCity` string, nullable — Sub-client city
      - `subClientOutlet` string, nullable — Sub-client outlet
      - `recipientEmail` string, nullable — Recipient email
      - `recipientFirstName` string, nullable — Recipient first name
      - `recipientLastName` string, nullable — Recipient last name
      - `customerEmail` string, nullable — Customer email
      - `customerFirstName` string, nullable — Customer first name
      - `customerLastName` string, nullable — Customer last name
      - `emailTitle` string, nullable — Email title
      - `emailMessage` string, nullable — Email message
      - `sendNow` string, nullable — Legacy value format: 1/0.
      - `sendDate` string, nullable — Legacy value format: yyyyMMdd.

## Other responses

- `400` — Bad Request
- `415` — Unsupported Media Type

---

[API](https://skmtc.dev/travelify/apis/travelify-io-api.md) · [All operations](https://skmtc.dev/travelify/apis/travelify-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/travelify/travelify-io-api/revisions/b09ce3f0c6d5/schema)
