Payment Item

A payment item record exposes a payment item to REST web services. This record is not a subrecord.

The REST API Browser includes information about the field names and field types of the payment item record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s paymentItem reference page.

For information about using the REST API Browser, see The REST API Browser.

Record IDs

The record ID for a payment item REST record is paymentItem.

Code Samples

The following samples show common use cases for payment items. The example ID is 4.

Creating a Payment Item Using a POST Request

              POST https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/paymentItem
{ "itemId": "Payment Item A", "displayName": "Payment Item A DisplayName"
} 

            

Retrieving a Payment Item Using a GET Request

              GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/paymentItem/4 

            

Updating a Payment Item Using a PATCH Request

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/paymentItem/4
{ "itemId": "Payment Item B", "displayName": "Payment Item B DisplayName", "description": "description"
} 

            

Deleting a Payment Item Using a DELETE Request

              DELETE https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/paymentItem/4 

            

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices