Partner Category
A partner category record exposes a partner category to REST web services.
For more information about partner categories and how they function in the user interface, see Creating a Partner Record.
To access this record in NetSuite, go to Setup > Sales > Setup Tasks > CRM Lists (Administrator).
This record:
-
is not a subrecord
-
has no subrecords
Actions
The partner category record includes the following actions from the Actions Framework:
-
Save
-
Save & New
-
Delete
For information about using the REST API Browser, see The REST API Browser.
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 ID
The record ID for the partner category REST record is partnerCategory.
Prerequisites
You must enable the CRM feature before you can use this record through REST web services.
Code Sample
The following samples show common use cases for a partner category record. The example ID is 5.
Retrieving Partner Category Metadata
GET https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/metadata-catalog/partnercategory
Updating a Partner Category Using a PATCH Request
PATCH https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/partnercategory/5
{ "name": "Name updated"
}
Deleting a Partner Category Using a DELETE Request
DELETE https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/partnercategory/5