Order Cancel API

Highlighted
New Member
5 0 0

Can you cancel an order using:

https://<shopify url>/admin/api/orders/<order no>/cancel.json  (a POST)

 

Where the order no refers to an unfulfilled order but that order that has been purchased via a bogus payment gateway i.e. it's a test order on a shopify site that isn't live?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
624 102 114

Hey @LizFrench ,

 

Yes you should be able to do this.

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes