Other Charge for Resale Item

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

Inaccessible Elements

ItemImages is not accessible in REST web services.

Elements with Different Functionality

The record has a matrix pricing machine. Otherwise, it behaves in the same way as the non-inventory purchase item and non-inventory resale item records.

Code Samples

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

Creating an Other Charge for Resale Item Using a POST Request

              POST https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/otherChargeResaleItem
{ "itemId": " Other Charge Resale Item", "cost": "1", "incomeAccount": { "id": "54", "refName": "Sales" }
} 

            

Retrieving an Other Charge for Resale Item Using a GET Request

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

            

Updating an Other Charge for Resale Item Using a PATCH Request

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/otherChargeResaleItem/4
{ "cost": "10",
} 

            

Deleting an Other Charge for Resale Item Using a DELETE Request

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