Other Charge for Purchase Item

An other charge for purchase item record exposes an other charge for purchase 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 other charge for purchase item record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s otherChargePurchaseItem reference page.

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

Note:

REST web services do not support legacy tax features. To work with taxation through REST web services, you must have the SuiteTax feature enabled. For more information about using SuiteTax, see SuiteTax.

Record IDs

The record ID for an other charge for purchase item REST record is otherChargePurchaseItem.

Code Samples

The following samples show common use cases for other charge for purchase items. The example ID is 4.

Creating an Other Charge for Purchase Item Using a POST Request

              POST https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/otherChargePurchaseItem
{ "itemId": " Other Charge for Purchase", "displayName": "displayName", "upcCode": "code" } 

            

Retrieving an Other Charge for Purchase Item Using a GET Request

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

            

Updating an Other Charge for Purchase Item Using a PATCH Request

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

            

Deleting an Other Charge for Purchase Item Using a DELETE Request

              DELETE https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/otherChargePurchaseItem/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