Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Lead → Insert/Update

AI-generated

Summary

Insert a new Lead or update an existing one in Acumatica by providing detailed lead data, including contact info, activities, address, campaigns, relations, and custom attributes.

Inputs

  • Activities — Multiple activity entries with details such as billable time, category, status, and ownership.
  • Address — The lead's address details including line 1, line 2, city, state, postal code, country, and validation status.
  • Attributes — Multiple custom attributes for the lead with IDs, descriptions, values, and activation flags.
  • Campaigns — Multiple related campaign entries including campaign ID, name, contact ID, and stage.
  • Duplicates — Multiple duplicate records details with account names, contact IDs, emails, types, and last modified dates.
  • Marketing Lists — Multiple marketing list memberships with contact IDs, list names, subscription status, and list types.
  • Relations — Multiple relations associated with the lead, including contacts, documents, email, roles, and primary flags.
  • Note ID — Identifier for the note linked to the lead.
  • Additional Fields — Various other lead fields such as business account, company name, contact methods, email, phone numbers, job title, lead class, owner info, and status.

Output shape

a single record representing the inserted or updated Lead resource

The operation accepts a comprehensive collection of fields to either insert a new lead or update an existing one. Empty or default values are stripped before the API call. The response contains the final representation of the lead after the upsert operation.

Links

Discussion