Gift Certificate
NetSuite exposes the gift certificate record to REST web services.
A gift certificate record is created when a customer purchases a gift certificate item. For example, you might create a gift certificate item and make it available for purchase. A customer can then buy this gift certificate item. When the customer buys the gift certificate item and designates a recipient, the system creates a gift certificate, which can be redeemed for goods and services offered by your business. The gift certificate record includes properties such as an expiration date, remaining value, and the recipient’s email address.
The gift certificate record isn't a subrecord and doesn't have any subrecords of its own.
For more information, see Gift Certificates.
Record ID
The record ID for the gift certificate REST record is giftcertificate.
Prerequisite
Before you work with gift certificates, enable the Gift Certificates feature.
Limitations
You can't access the internalid field through REST. Use the id field to get the unique identifier of a gift certificate record instance.
Also, you can't access the redeemedat and soldon fields through REST.
For information about using the REST API Browser, see The REST API Browser.
Code Sample
You can only read gift certificates through REST. To create new ones, use the Gift Certificate Item record.
To read a gift certificate record, use a GET request:
GET https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/giftcertificate/<id>