Query parameters
- 
    
  
Default value is
1. - 
    
  
Default value is
15. - 
    
  
Search by voucher reference or delivery address
Maximum length is
600. - 
    
  
Sort vouchers by one or more fields. Use '-' prefix for descending order. Available fields: created_at, updated_at, order_date (sorts by order's created_at) Default: -updated_at
 - 
    
  
Filter by store UUIDs. Can specify multiple store IDs for OR logic.
 - 
    
  
Filter by packaging option UUIDs
 - 
    
  
Filter by delivery method UUIDs
 - 
    
  
Filter by shipping type
Values are
email,collection, orpostal. - 
    
  
Filter by shipping status
Values are
outstandingorfulfilled. 
        GET
    /vouchers
  
  curl \
 --request GET 'https://api.gb.enjovia.app/vouchers' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Account-ID: string"
    
        Response examples (200)
  
  {
  "data": [
    {
      "id": "789e4567-e89b-12d3-a456-426614174000",
      "reference": "AB123-CD",
      "name": "Premium Gift Card",
      "recipient_name": "Jane Doe",
      "from_name": "John Smith",
      "message": "Happy Birthday! Enjoy your special day.",
      "custom_fields": {
        "template": "birthday",
        "custom_image_url": "https://example.com/image.jpg"
      },
      "created_at": "2024-01-15T14:30:00Z",
      "updated_at": "2024-01-15T14:35:00Z",
      "order_date": "2024-01-15T14:30:00Z",
      "redeemables": [
        {
          "id": "abc12345-e89b-12d3-a456-426614174000",
          "type": "monetary",
          "status": "issued",
          "valid_from": "2024-01-01",
          "valid_to": "2024-12-31",
          "valid_days": [
            "monday",
            "tuesday",
            "wednesday",
            "thursday",
            "friday"
          ],
          "currency_code": "usd",
          "monetary_value": 5000,
          "name": "$50 Gift Card",
          "custom_fields": {
            "color": "gold",
            "category": "dining"
          },
          "tags": {
            "promotion": "summer-sale",
            "product_category": "gift-cards"
          },
          "created_at": "2024-01-15T14:30:00Z",
          "updated_at": "2024-01-15T14:35:00Z",
          "is_live": true,
          "invalid_reason": "This voucher is only valid Monday-Friday",
          "redeem_locations": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "Main Street Location",
              "is_active": true
            }
          ]
        }
      ]
    }
  ],
  "links": {
    "first": "https://example.com",
    "last": "https://example.com",
    "prev": "https://example.com",
    "next": "https://example.com"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 5,
    "path": "/vouchers",
    "per_page": 20,
    "to": 20,
    "total": 100
  }
}