All things Shopify and commerce
Hi All,
I have an order where an item was returned by a customer and refund was provided in form of a gift card.
This gift card is added to line items object in Order API.
I would like to know if there is any data returned in the Order API which can help make me determine that the gift card was indeed issued as a refund
So here is how you can do it @simmsy . you have to use combination of sales agreement data thru graphql (Documentation) and order api
Here is logic if gift card line was added after order was placed and if customer paid 0 for it was most likely tied to a refund. What customer paid for it can be determined through the Sales Agreement object.
This is the best I could come up with. Hope this helps.
Woof, you'd like to see something more concrete. Thanks for the quick response!
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024