Send the whole object as a variable. The only way. mutation CreateOrderLines($input: [OrderLine_Input]!) {
useCompany(no: 4655191) {
orderLine_create(values: $input) {
affectedRows
items {
orderNo
lineNo
description
changedByUser
changedDateTime
}
}
}
}
{
"input": [
{
"orderNo": 1736,
"lineNo": 1,
"productNo": "TEQ1001",
"processingMethod2": 81920,
"processingMethod1": 0,
"processingMethod4": 262144,
"quantity": 1,
"priceInCurrency": 9999
},
{
"orderNo": 1736,
"lineNo": 2,
"productNo": "TEQ1",
"structureLevel": 1,
"processingMethod2": 16385,
"description": "Eldøyane Camp Aker, Eldøyane, Stord, Norge-\"Busshålo\", Stord, Norge",
"processingMethod1": 4096,
"quantity": 1,
"orgUnit1": 3131,
"transactionInformation1": "TB-032193-S01-N002",
"transactionInformation2": "STD",
"structureHeadLineNo": 1,
"priceInCurrency": 9999
},
{
"orderNo": 1736,
"lineNo": 3,
"productNo": "TEQTurInf",
"processingMethod2": 422330368,
"memoNo": 1538
}
]
}
... View more