How to limit the line items while doing a Records.transform()?
I’m trying make a POST request: /record/v1/invoice/<INVOICE_ID>/!transform/returnauthorization
with these line items:
“item”: {
“items”: [
{
“orderLine”: 1
}
]
}
On the original invoice, there are two line items. I’m trying to create a Return Authorization from this invoice, and I’m expecting only one of those line items to show in the return authorization transaction. However, it was syncing both line items no matter what I do in my Post Request.
Does anyone know how to override this default syncing?
Greatly appreciate it!



