Skip to main content

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.

FieldValoreNote
Namee.g. active-flow-gift-cardScheduling name
Cron Expression*/5 * * * *How often to retrieve gift cards (e.g. */5 * * * * -> every 5 minutes)
Source TypehttpSource type to use
Urlhttps://adapt.flowlyze.com/api/adp/shopify/ingress/get-gift-cards-created-afterEndpoint URL to call (see note at end of table)
MethodGETMethod to call the endpoint
Headers :: x-api-key**********API key for endpoint interaction verification
Headers :: x-shopify-graphql-urlhttps://SHOPIFYURL.myshopify.com/Shopify shop URL to connect to
Headers :: x-shopify-access-tokenshpat_CODICEALFANUMERICOSecret of the custom app created for integration
Headers :: x-last-gift-card-processed-date"lastGiftCardProcessedDateDate to start retrieving gift cards from, to be used with autoincremental
Headers :: channel-code"Your Shopify StoreYour Shopify shop name or code
Headers :: x-number-of-gift-cards10Number 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
}