Thanks for providing the examples. It looks like you are attempting to associate a line_item to multiple deals across your two different calls. A line_item is only able to be associated to a single deal, which is why you are seeing the assocaition move.
I tested out the behavior of the non-batch API and that also moved the association from the deal it was previously on to the one specificed in my API call.
If you have any examples of a line_item being associated to multiple deals, please send them my way (feel free to DM if you don't feel comfortable sharing here) as that would be a bug.
Thanks for providing the examples. It looks like you are attempting to associate a line_item to multiple deals across your two different calls. A line_item is only able to be associated to a single deal, which is why you are seeing the assocaition move.
I tested out the behavior of the non-batch API and that also moved the association from the deal it was previously on to the one specificed in my API call.
If you have any examples of a line_item being associated to multiple deals, please send them my way (feel free to DM if you don't feel comfortable sharing here) as that would be a bug.
API V3 Batch Create Associations is not working as expected
SOLVE
Hello,
I'm pretty sure, I was able to associate multiple line items to multiple deals earlier. I checked again, and it moves the association as you said.
I have some deals to import with some products to attach by using line items, is there any way to automatically create line items and associate them to deals ?