Acumatica API - Endpoint Default 25 200 001 icon

Acumatica API - Endpoint Default 25 200 001

Interact with Acumatica Endpoint Default/25.200.001

Actions478

Customer Location → Insert/Update

AI-generated

Summary

Insert or update a Customer Location record in Acumatica by specifying various details including address, contact information, attributes, and related entities. This operation sends the provided structured data to the Acumatica API to create a new customer location or update an existing one.

Inputs

  • BusinessAccount (required) — The identifier of the business account associated with the customer location.
  • LocationID — The unique identifier for the location; if provided, updates the existing location, otherwise inserts new.
  • LocationName — The name of the customer location.
  • Address — Nested record containing detailed address information including lines, city, state, country, postal code, and additional address-related fields.
  • LocationContact — Contact information for the location including active status, multiple activities with details, status, summary, type, and related contact IDs.
  • Attributes — Custom attributes associated with the location, including attribute ID, description, value, and flags for active and required status.
  • RoleAssignments — Assignments of roles to contacts at the location with details such as role name, creation and modification dates.
  • AdditionalFields — Additional optional fields such as active status, calendar, shipping parameters, tax information, and more as per Acumatica schema.

Output shape

a structured object representing the upserted Customer Location record as returned by the Acumatica API

The output includes all provided fields along with any generated or default values from Acumatica. The operation handles both inserting a new record if LocationID is not specified or updating an existing one if it is. Errors from the API will result in failure responses rather than successful output.

Examples

Example 1: Insert a new Customer Location

Provide a business account ID along with required address and contact details without specifying LocationID to create a new customer location.

Example 2: Update an existing Customer Location

Specify the LocationID with updated address, contact, or additional fields to modify an existing customer location record.

Links

Discussion