NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Subsidiary Relationship → Insert or update record

AI-generated

Summary

Updates or creates a customer subsidiary relationship record in NetSuite via PUT /customerSubsidiaryRelationship/{id}.

Inputs

  • id (required) — External identifier of the record.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method for the NetSuite API request.
  • additionalFields — Optional fields to update such as balance, depositBalance, entity, isPrimarySub, name, primaryCurrency, subsidiary, and unbilledOrders.
  • entity — Entity record with internal identifier and external identifier.
  • externalId — External identifier for the record.
  • isPrimarySub — Whether this is the primary subsidiary.
  • lastModifiedDate — Last modified date of the record.
  • name — Name of the customer subsidiary relationship.
  • Prefer — Execute the request asynchronously when set to 'respond-async'.
  • primaryCurrency — Currency with internal and external identifiers.
  • refName — Reference name for the record.
  • replace — Names of sublists on this record to replace with lines specified in the request.
  • replaceSelectedFields — If true, all fields to be deleted in the update request must be included in the 'replace' query parameter.
  • subsidiary — Subsidiary record with internal and external identifiers.
  • unbilledOrders — Total amount of orders entered but not yet billed.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key for asynchronous requests (RFC 4122 UUID).
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation.
  • customFields — List of custom fields to assign to the record.

Output shape

The updated or created Customer Subsidiary Relationship record from NetSuite.

Returned data shape follows NetSuite API response for the customerSubsidiaryRelationship resource.

Links

Discussion