App reviews, troubleshooting, and recommendations
I'm using the Shopify GraphQL API to show a list of gift cards associated with a user on their dashboard, where they can view both purchased and received gift cards.
Currently, we're making two separate requests:
Here’s the query we're using for purchased gift cards:
query { giftCards(first: 50, query: "customer_id:123", reverse: true, sortKey: CREATED_AT) { edges { node { balance { amount currencyCode } createdAt customer { email firstName id } deactivatedAt enabled expiresOn id initialValue { amount currencyCode } lastCharacters maskedCode recipientAttributes { message recipient { email firstName id lastName } } } } } }
Is there a way to combine these into a single query or streamline this process so we can retrieve both purchased and received gift cards in a more efficient way?
Thanks in advance!
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024