Shopify: Cancel rather than close an order (#6108)

This commit is contained in:
Nicolas Dorier 2024-07-15 21:57:12 +09:00 committed by nicolas.dorier
parent 7711acd1e9
commit c9687622e9
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -118,7 +118,7 @@ namespace BTCPayServer.Plugins.Shopify
public async Task<ShopifyOrder> CancelOrder(string orderId)
{
var req = CreateRequest(_credentials.ShopName, HttpMethod.Post,
$"orders/{orderId}/close.json", null, "2024-04");
$"orders/{orderId}/cancel.json?restock=true", null, "2024-04");
var strResp = await SendRequest(req);