# Creates a gift card

```
POST https://{store_name}.myshopify.com/apps/gcf/api/gift_card
```

There are additional optional parameters that can be specified in the body of the request when creating a gift card:

* `initial_value` - value of the gift card
* `expires_on` - gift card expiry date
* `email` - email of the customer. This customer will be assigned to gift card customer field. If email does not exist in Shopify backend - app will create one
* `recipient_email` - email of the recipient. This recipient will be assigned to gift card recipitn field. If email does not exist in Shopify backend - app will create one
* `note` - internal note, not visible to customers
* `message` - message sent in gift card email

{% hint style="info" %}
Only initial\_value parameter is required.
{% endhint %}

Response:

```json
HTTP/1.1 201 Created
{
  "gift_card": {
    "id": 634370326821,
    "balance": "4.0",
    "created_at": "2025-08-15T12:37:38Z",
    "currency": "AUD",
    "initial_value": "15.00",
    "disabled_at": null,
    "line_item_id": null,
    "api_client_id": null,
    "user_id": null,
    "customer_id": 9042221203749,
    "customer_email": "customer@test.com",
    "recipient_id": null,
    "recipient_email": null,
    "note": null,
    "expires_on": "2025-10-10",
    "message": null,
    "last_characters": "262f",
    "order_id": null,
    "code": "awap262f"
  }
}
```
