Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Different behaviour between refund an order with gift card using API and admin panel by Eric Chow

$
0
0

Example:

You have a order #1001, total amount is $300, payment method is COD, and full paid with a gift card

1. When you refund WITHIN the admin panel (xxx.myshopify.com/admin), the gift card will be refunded

2. When you refund using the API, the gift card won't be refunded, and it will show that the order has refunded using the COD method

Conclusion: There is no way to refund the gift card using API

Real order FYI:

mizzue.myshopify.com

order id: 213054669

order number: #75146

I have issue an API request with "POST /admin/orders/213054669/cancel.json params: amount=304"

I expect the gift card will be refunded but it won't.

Is there anything I made wrong?


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>