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.
Using GiftCert on Saleorder created with API
We are synchronizing Netsuite with our existing shopping cart software. Using the API (2.6), we create a salesorder in NS.
However, when a customer uses a Gift Certificate as the method of purchase we receive an error, "Gift Certificate Not Found". We have tried using the Gift Certificate Code as well as the NSKey.
We've tried adding the gift certificate to the salesorder with the following .NET code:
--------------------------------------------------------------------
RecordRef giftCert = new RecordRef();
giftCert.type = RecordType.giftCertificate;
giftCert.typeSpecified = true;
giftCert.internalId = "PGTestGS3";
salesOrder.giftCert = giftCert;
--------------------------------------------------------------------
We can create the salesorder without a Gift Certicate without a problem.
We can also use the Gift Certificate in the Netsuite UI.