Discussions
Some custom column fields not populating when creating Sales Order via REST API with Subscription ID
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"