Location

Locations can be used to identify and categorize records in your NetSuite account. You can also define locations for your organization’s needs by creating custom segments. Locations enable you to better organize data and preserve accuracy.

For information about working with locations in the UI, see Classifications in NetSuite.

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

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

Record ID

The record ID for the location REST record is location.

The location record has the following subrecords:

  • classTranslation

  • businessHours (as part of the Store Pickup feature)

  • mainAddress

  • inventoryBalance

  • returnAddress

  • tranNumbering

  • docNumbering

  • includeLocationRegions (as part of the Automatic Location Assignment feature)

  • excludeLocationRegions (as part of the Automatic Location Assignment feature)

Limitations

Read-only sublists, including system notes, are not supported in REST.

Code Sample

            { "isInactive": false, "name": "REST test 1692272155", "subsidiary": { "items": [ { "id": 2 }] } , "makeInventoryAvailableStore": true, "latitude": 90, "tranPrefix": "tp", "defaultAllocationPriority": 112, "locationType": 1, "longitude": 180, "makeInventoryAvailable": true, "timeZone": { "id": "Asia/Dacca"}, "logo": { "id": 14 } } 

          

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