Hey,
Wondering if anyone knows if it is possible to Post via GraphQL a mutation that adds a store credit to an order (as a refund)?
Currently we exchange orders for store credits, but would like to programmatically do this (using the balance of refundDiscrepancySet)
Hi Chris,
Could you use the storeCreditAccountCredit mutation for this? This mutation credits the specified amount to the customer’s store credit account. You can use this to handle refunds as store credits. In addition, you could also use the refundCreate
mutation to record the refund on the order.
Hi Chris,
Andy from the store credit team here. Currently it isn’t possible to add a store credit to an order as a refund. We are actively working on support for this and it will ship to the admin API for partners to use.
Like @Liam-Shopify mentions it is possible to workaround this via crediting the customer directly and updating the refund. It might however be worth waiting for the native support which will be better integrated into all aspects of admin,
1 Like
hey @Liam-Shopify @Andrew_Polhill
Thanks for coming back.
We are using the mutation to create the storecredit, but effectively that leaves us with an open position on the order that can be refunded. we are using the refund webhook to adjust storecredit up or down based on the outstanding.
overall it would be better user experience if we could just refund to store_credit, or alternatively via mutation manually add a storecredit to reduce the unsettled funds.
any ideas on when that is coming @Andrew_Polhill. We are finding returns and Exchanges reasonable workable from a usability standpoint (i know its new), but this is a limiting factor in our plus store.
Also, for what it is worth, it would be great to see transactions associated to returns or exchanges, as that is also another real problematic point (I am speaking with plus support on this).
I understand that it is i guess and adjustment on the original order, and nets against that, but it is just real hard to make that work with accounting systems.
my understanding on refundcreate is it needs the original transaction method. so if store_credit isn’t on the order, then you cant refund to that payment method?
I definitely agree that native ability to refund to storecredit in the UX as well as via the graphQL is the best solution from a customer/merchant perspective.