Skip to main content
GET
/
api
/
v1
/
gift_cards.json
List Gift Cards
curl --request GET \
  --url https://api.launchmystore.io/api/v1/gift_cards.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "gift_cards": [
      {
        "id": "gc_abc123",
        "code": "GIFT-ABCD-1234-EFGH",
        "initial_value": 5000,
        "balance": 3500,
        "currency": "USD",
        "status": "enabled",
        "customer_id": "cust_xyz789",
        "note": "Birthday gift",
        "expires_at": "2025-01-15T00:00:00Z",
        "created_at": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 45
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

status
string
Filter by status: enabled, disabled
page
number
default:"1"
Page number
limit
number
default:"50"
Items per page

Response

{
  "success": true,
  "data": {
    "gift_cards": [
      {
        "id": "gc_abc123",
        "code": "GIFT-ABCD-1234-EFGH",
        "initial_value": 5000,
        "balance": 3500,
        "currency": "USD",
        "status": "enabled",
        "customer_id": "cust_xyz789",
        "note": "Birthday gift",
        "expires_at": "2025-01-15T00:00:00Z",
        "created_at": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 45
    }
  }
}