The max total quantity across all line items is 999 and you will receive a TotalQuantityInvalid error if the total quantity exceeds that amount.  There is a post size limit as well and we recommend to not exceed 100 individual line items.

Did this answer your question?