leadtributor.cloud icon

leadtributor.cloud

Interact with the leadtributor.cloud API for lead management

Sales Partner → Update

AI-generated

Summary

Update tags and custom attributes of a sales partner identified by its unique Sales Partner ID.

Inputs

  • Sales Partner ID (required) — The unique ID of the sales partner (UUID) to update.
  • Update Fields — Fields to update on the sales partner: 'Tags' as a JSON array (replaces existing tags) and/or 'Attributes' as a JSON object (replaces existing attributes). At least one of these must be provided.
  • Options — Additional options including 'Serial' number for optimistic locking. Set to 0 to skip the concurrency check.

Output shape

a JSON object indicating success and returning the salesPartnerId

Returns { success: true, salesPartnerId } upon successful update. Throws an error if neither tags nor attributes are provided or if the operation fails.

Examples

Example 1: Update the tags of a specific sales partner by providing the Sales Partner ID and a JSON array of tags.

Provide 'Sales Partner ID', in 'Update Fields' set 'Tags' to a JSON array like ["vip","region-west"], leave 'Attributes' blank, and optionally set 'Options.Serial' for locking.

Links

Discussion