Edit shopify order with API

Shopify Partner
24 0 4

I want to edit after placed with Shopify API with graphql OR REST API. Please let me know with example.
I found this but this is not working with order item 


Replies 2 (2)

Shopify Staff
1363 228 476

Hi @vinodk  👋


It's a little unclear which part of the order you're looking to edit in your post. If the `orderEditAddVariant` mutation is throwing an error for you, please share an example of each of the below:

  • the mutation and variables - simplified to the relevant section
  • the error returned
  • X-Request-ID & timestamp from the last 7 days

With the above details, we would be happy to take a closer look for you. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

5 0 1

im trying to do the same 

I want to upload a PDF to each order from an external couriers API 

either in timeline or metafields 

Screenshot 2023-03-29 at 14.00.15.png