Delete Orders imported via Shopify API

Shopify Partner
1 0 0

Hi there,

We attempted to import order data into Shopify using the Shopify API, but the "processed_at" attribute was omitted during the initial import. Now, we need to delete all of these orders and then attempt to import them again via a CSV file containing all the details.

What is the best way to proceed?

I've attempted to use the delete order endpoint, but I receive a 200 response with the full body of the order, and the order is still present in the Shopify store.

I've also tried archiving orders from the admin panel and then using the API, but I encountered the same result.

Additionally, I can't cancel orders in the admin panel that were created by the API.

Here's an example of my delete request:

curl --location '' \
--header 'X-Shopify-Access-Token: token'

Could you please assist with resolving these issues?

Replies 0 (0)