Fulfilled and partially-fulfilled orders can no longer be canceled by using the Order resource
API
Effective March 01, 2018
On March 1, 2018, Shopify will prevent cancellations of fulfilled or partially-fulfilled orders. Post-fulfillment order cancellations are rare and can lead to confusing fulfillment states and discrepancies in reporting. Thus, attempting to cancel a fulfilled or partially fulfilled order using the cancel endpoint of the Order resource will return an error.