What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Edit shopify order with API

Edit shopify order with API

vinodk
Shopify Partner
24 0 5

Hello 
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 

https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-new-variant

Replies 2 (2)

ShopifyDevSup
Shopify Staff
1453 238 525

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

touchesport
Tourist
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