Create Product
Create a new product in your catalog. Gale automatically checks HSA/FSA eligibility via the SIGIS database using the product’s UPC code or name.Authentication
Request Body
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Product name (max 255 chars) |
tagline | string | No | Short description (max 255 chars) |
description | string | No | Full product description (supports markdown) |
price_cents | integer | Yes | Price in cents |
currency | string | Yes | ISO 4217 currency code (e.g., “USD”) |
merchant_product_id | string | No | Your reference ID for this product |
upc_code_or_gtin | string | No | UPC or GTIN barcode (used for eligibility check) |
images | array | No | Array of image URLs (max 10) |
metadata | object | No | Custom key-value pairs |
Response
Examples
Basic Product
Complete Product with UPC
With JavaScript
Automatic Eligibility Detection
When you create a product, Gale automatically checks HSA/FSA eligibility using:- UPC Code (if provided) - Most accurate method
- Product Name - If no UPC provided
Eligibility Response
Eligibility Types
| Type | Description |
|---|---|
auto_substantiation | Automatically eligible (no documentation needed) |
vision | Vision care products |
rx | Prescription products |
dual_purpose | Eligible with LMN (doctor’s note) |
prescription | Requires prescription |
medical_mcc | Medical merchant category code |
Product Images
Image Upload
Images must be publicly accessible URLs. Gale does not host images.Image Requirements
- Format: JPG, PNG, or WebP
- Size: Max 5MB per image
- Dimensions: Recommended 1000x1000px minimum
- Limit: Maximum 10 images per product
Use Cases
Sync from E-commerce Platform
Bulk Product Import
Create with Eligibility Check
Webhooks
Product creation triggers the following webhook event:Errors
| Status Code | Error Code | Description |
|---|---|---|
| 400 | invalid_request | Missing or invalid parameters |
| 400 | invalid_price | Price must be positive integer |
| 400 | invalid_currency | Unsupported currency code |
| 401 | unauthorized | Invalid or missing API key |
| 422 | validation_error | Field validation failed |
| 429 | rate_limit_exceeded | Too many requests |
Best Practices
Include UPC Codes
Provide UPC codes for accurate eligibility detection
Use Descriptive Names
Clear product names improve eligibility matching
Add Product Images
Include high-quality images for better checkout experience
Track with Metadata
Use metadata to link products to your internal systems
Related Endpoints
- Get Product - GET /v2/products/
- Update Product - PUT /v2/products/
- List Products - GET /v2/products
- Check Eligibility - POST /v2/products/check-eligibility
