Gift Card Import
Shopify gift cards are synchronized by Flowlyze starting from their creation date, so as to retrieve only new ones each time.
Active Customer Flow Configuration
After creating the destination, proceed with flow insertion.
| Field | Valore | Note |
|---|---|---|
Name | e.g. active-flow-gift-card | Scheduling name |
Cron Expression | */5 * * * * | How often to retrieve gift cards (e.g. */5 * * * * -> every 5 minutes) |
Source Type | http | Source type to use |
Url | https://adapt.flowlyze.com/api/adp/shopify/ingress/get-gift-cards-created-after | Endpoint URL to call (see note at end of table) |
Method | GET | Method to call the endpoint |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | Secret of the custom app created for integration |
Headers :: x-last-gift-card-processed-date" | lastGiftCardProcessedDate | Date to start retrieving gift cards from, to be used with autoincremental |
Headers :: channel-code" | Your Shopify Store | Your Shopify shop name or code |
Headers :: x-number-of-gift-cards | 10 | Number of gift cards to retrieve per call (default 10) |
Example of retrieved information
{
"id": "gid://shopify/GiftCard/123456789",
"createdAt": "2025-06-30T07:47:43+00:00",
"expiresOn": "2030-06-30T00:00:00+02:00",
"isEnabled": true,
"amount": 250,
"balance": 250,
"currency": "EUR",
"orderName": null
}