Updating Order - Add Discount

New Member
1 0 0


We are helping a customer to integrate Shopify with their back end systems.  Customers will enter orders in Shopify that we will retrieve using the API and then send over to them so they can load them in to their main fulfillment system.

Part of their process may be to apply discounts for the customer as they are processing the orders on their end.  

Later our customer will send us a file with the final delivery information and we will revise the order so it matches before we capture the payment (in case the driver delivers less than what was ordered or something like that).

I know how to revise the order line quantity using GraphQL but does anyone know how to add a line level discount as well?

Thank you for any help you can provide!