Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
promoCode in salesOrders via soap
Hello,
I am having trouble using the promotion code field in salesOrders. Below is the soap request I'm using. It works find except for the promotion code line which I have to leave out.
<ns6:promoCode internalId="1" type="promoCode" xsi:type="ns7:RecordRef"/>
Specifically I am confused about what to put in the type field. Is there some place in the documentation or UI where I can figure out the proper value?
thanks,
Aaron
<record xmlns:ns6="urn:sales_2_5.transactions.webservices.netsuite.com" xsi:type="ns6:SalesOrder">
<ns6:entity xmlns:ns7="urn:core_2_5.platform.webservices.netsuite.com" internalId="332" type="customer" xsi:type="ns7:RecordRef"/>