Options
How to add multiple items in invoiceCreate?
![opc123](https://us.v-cdn.net/6030557/uploads/defaultavatar/nB9U4F9UMD6RY.jpg)
Hello,
We are able to create invoice with single item via API. For single item, we are using
items { product { id } quantity unitPrice } and in variable "items": { "productId": "test", "quantity": "1", "unitPrice": "80" }.
How can we add multiple items in this?
Thanks!
0
Comments
Hi @opc123,
You should be able to provide
items
as an array of objects, instead of a single object (example).Based on your example, it would look like: