Hi All,
I am creating a Sales Order via the REST API and linking it to an existing Subscription record (SuiteBilling).
When I pass only the "subscription": { "id": "<subscriptionId>" } field, the system automatically populates all subscription lines on the Sales Order — which is expected.
However, when I also include custom column fields (for example, custcol_original_quote_line) inside the "item" array in my request body, those custom fields are not getting populated after the record is created.
Example of my payload:
{
"entity": { "id": "12345" },
"subsidiary": { "id": "55" },
"currency": { "id": "1" },
"item": {
"items": [
{
"subscription": { "id": "5698" },
"custcol_original_quote_line": "aC4WE00000079D80AI"
}
]
}
}
My observation:
When a subscription ID is passed, NetSuite auto-populates all subscription lines and ignoring any field values sent in the payload.
Question:
Is there a supported way to:
Pass custom line-level fields along with a subscription during Sales Order creation via REST API?
Any guidance or best practices from others who integrated with SuiteBilling subscriptions would be appreciated!
Thanks
Megha