Add a shipping method with the Order GraphQL API

Hello!

Tell me how can I add “shipping lines” to an existing order?

I know that cannot change shipping lines using the Shopify API.

In the documentation, I found that it can be edited the Shopify GraphQL:

  • Add new variant line items
  • Add new custom line items
  • Remove line items
  • Alter line item quantities

Also found a similar question: LINK . This question says that shipping lines can be edited. But in the documentation I have not found how to do this.

Thanks!

I have the same issue and I don’t find the system to do it.