For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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 'https://adasda-24.myshopify.com/admin/api/2024-10/orders/123123123123.json' \ --header 'X-Shopify-Access-Token: token'
Could you please assist with resolving these issues?