Thanks for your response. In the other post I linked is not a solution given. My question is how can I change the order of associated line items in a quote?
To give a litle bit more background information:
We use the PHP library for making the request.
We create multiple line items in a batch. In the batch request the line items are in the correct order. The line items are added and the created line items are returned. Then we use the returned line items to make a batch request to associate each line item to the quote. The line items are however in a random order. How can we control the order?