How to set the value of a custom segment field on a record using the REST API?

Hello everyone!

The title says it all, I’ve been struggling with this issue for a while now and looking everywhere for some sort of documentation.

I have a custom segment of type list/record that is applicable to my sales order items.

I am creating sales orders using the REST API and everything works fine except when trying to set the value for the aforementioned custom segment field…

I tried a bunch of things in the vein of:

{“cseg_cust_segment”: VALUE_ID}
{“cseg_cust_segment”: {“id”: VALUE_ID}}
I get no errors and the call is successful but the field is never populated…
If anyone could point me in the right direction that would be awesome!
Rookie Asked on March 19, 2025 in SuiteTalk.
Add Comment
1 Answer(s)

I recall helping somebody with this recently but I can’t remember the solution.

I think we started by making a GET request on a record with this detail populated. Are you able to share how it looks when returned from NetSuite in this way?

Advanced Answered on March 20, 2025.
Add Comment

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