Actions981
- Account Actions
- Accounting Period Actions
- Adv Intercompany Journal Entry Actions
- Assembly Build Actions
- Assembly Item Actions
- Assembly Unbuild Actions
- Billing Account Actions
- Billing Revenue Event Actions
- Billing Schedule Actions
- Bin Actions
- Bin Transfer Actions
- Blanket Purchase Order Actions
- Bom Actions
- Bom Revision Actions
- Calendar Event Actions
- Campaign Actions
- Campaign Response Actions
- Cash Refund Actions
- Cash Sale Actions
- Charge Actions
- Check Actions
- Classification Actions
- Commerce Category Actions
- Competitor Actions
- Consolidated Exchange Rate Actions
- Contact Actions
- Contact Category Actions
- Contact Role Actions
- Cost Category Actions
- Coupon Code Actions
- Credit Card Charge Actions
- Credit Card Refund Actions
- Credit Memo Actions
- Currency Actions
- Currency Rate Actions
- Customer Actions
- Customer Category Actions
- Customer Deposit Actions
- Customer Message Actions
- Customer Payment Actions
- Customer Refund Actions
- Customer Status Actions
- Customer Subsidiary Relationship Actions
- [Custom Record] Actions
- Department Actions
- Deposit Actions
- Deposit Application Actions
- Description Item Actions
- Discount Item Actions
- Download Item Actions
- Email Template Actions
- Employee Actions
- Estimate Actions
- Expense Category Actions
- Expense Report Actions
- Fair Value Price Actions
- Fulfillment Request Actions
- Gift Certificate Item Actions
- Inbound Shipment Actions
- Intercompany Journal Entry Actions
- Intercompany Transfer Order Actions
- Inventory Adjustment Actions
- Inventory Cost Revaluation Actions
- Inventory Count Actions
- Inventory Item Actions
- Inventory Number Actions
- Inventory Transfer Actions
- Invoice Actions
- Issue Actions
- Item Fulfillment Actions
- Item Group Actions
- Item Receipt Actions
- Item Revision Actions
- Job Actions
- Job Status Actions
- Job Type Actions
- Journal Entry Actions
- Kit Item Actions
- Location Actions
- Manufacturing Cost Template Actions
- Manufacturing Operation Task Actions
- Manufacturing Routing Actions
- Markup Item Actions
- Merchandise Hierarchy Level Actions
- Merchandise Hierarchy Node Actions
- Merchandise Hierarchy Version Actions
- Message Actions
- Nexus Actions
- Non Inventory Purchase Item Actions
- Non Inventory Resale Item Actions
- Non Inventory Sale Item Actions
- Note Type Actions
- Opportunity Actions
- Other Charge Purchase Item Actions
- Other Charge Resale Item Actions
- Other Charge Sale Item Actions
- Other Name Actions
- Other Name Category Actions
- Partner Actions
- Paycheck Actions
- Payment Item Actions
- Payment Method Actions
- Phone Call Actions
- Price Book Actions
- Price Level Actions
- Price Plan Actions
- Pricing Group Actions
- Project Task Actions
- Promotion Code Actions
- Purchase Contract Actions
- Purchase Order Actions
- Purchase Requisition Actions
- Resource Group Actions
- Return Authorization Actions
- Rev Rec Schedule Actions
- Rev Rec Template Actions
- Sales Order Actions
- Sales Role Actions
- Sales Tax Item Actions
- Service Purchase Item Actions
- Service Resale Item Actions
- Service Sale Item Actions
- Ship Item Actions
- Statistical Journal Entry Actions
- Subscription Actions
- Subscription Change Order Actions
- Subscription Line Actions
- Subscription Plan Actions
- Subscription Term Actions
- Subsidiary Actions
- Subtotal Item Actions
- [SuiteQL] Actions
- Support Case Actions
- Task Actions
- Tax Type Actions
- Term Actions
- Time Bill Actions
- Time Sheet Actions
- Topic Actions
- Transfer Order Actions
- Units Type Actions
- Usage Actions
- Vendor Actions
- Vendor Bill Actions
- Vendor Category Actions
- Vendor Credit Actions
- Vendor Payment Actions
- Vendor Prepayment Actions
- Vendor Prepayment Application Actions
- Vendor Return Authorization Actions
- Vendor Subsidiary Relationship Actions
- Web Site Actions
- Work Order Actions
- Work Order Close Actions
- Work Order Completion Actions
- Work Order Issue Actions
Service Purchase Item → Insert or update record
AI-generatedSummary
Insert or update a Service Purchase Item record in NetSuite by specifying its external identifier and relevant fields.
Inputs
- id (required) — External identifier of the Service Purchase Item to insert or update.
- additionalFields — Various optional fields detailing the Service Purchase Item attributes such as allocation price, amortization details, vendor information, descriptions, and custom fields.
- customFields — Custom fields specific to the Service Purchase Item record type, allowing to set values by field type.
- isDebugMode — Flag to include full request and response information in the output for debugging purposes.
- authMethod — Authentication method to use for the API request, either OAuth1 or OAuth2.
- Prefer — Server behavior preference, e.g., 'respond-async' to execute the request asynchronously.
- X-NetSuite-Idempotency-Key — User-defined unique idempotency key for asynchronous requests to ensure single execution.
- X-NetSuite-PropertyNameValidation — Level of strictness for property name validation (Error, Warning, Ignore).
- X-NetSuite-PropertyValueValidation — Level of strictness for property value validation (Error, Warning, Ignore).
Output shape
The updated or created Service Purchase Item record data returned from NetSuite, optionally including full request and response information when 'Debug Mode' is enabled.
The operation requires providing the external identifier 'id' of the Service Purchase Item to insert or update. Additional optional fields and custom fields can be set as needed. The node supports both OAuth1 and OAuth2 authentication methods. The 'Prefer' and NetSuite-specific headers can alter behavior such as asynchronous execution and validation strictness. Debug information is included if 'Debug Mode' is set to true.
Examples
Example 1: Insert a new Service Purchase Item with a given external ID and custom description.
Set 'id' to the desired external ID, fill relevant fields in 'additionalFields' like 'description' and set 'authMethod' to the required authentication type.
Example 2: Update an existing Service Purchase Item to mark it as inactive and set expense account.
Provide 'id' of the existing item, set 'isInactive' to true in 'additionalFields', set 'expenseAccount' with proper internal or external IDs, and choose authentication method.