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!

 

Rookie Asked on May 28, 2025 in How To's.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   SuiteMigration   Become a Sponsor