I am using shopify rest apis my requirement is to create draft oder then send invoice to customer and when payment is done reflect that in my system using webhook.
but i have used order payment webhook but the issue is in that response i can’t get the draft order id .
also response of draft order create line items not matching with order payment webhook lineitems.
so how can i link it up