Shopify Connection -> Ignore a line item when quantity is less than 1 to create a draft order

Hey! I’m generating a draft order in Shopify through submitted data in a form. It works fine, but when one of the line items has 0 quantity, I get an error and the draft order can’t be created.

I’m wondering if there is a way to ignore the full line item and don’t include it in the data sent to Shopify.