Hamkar icon

Hamkar

Interact with Hamkar.co API for record and contact management

Actions8

Record → Update

AI-generated

Summary

Update an existing record in Hamkar.co by specifying its ID and providing updated details such as tag, topic, due date, contact information, linked user, products list, and custom field answers.

Inputs

  • Record ID (required) — ID of the record to update.
  • Tag (required) — Status title/tag for the record.
  • Topic (required) — Topic title for the record.
  • Due Date (required) — Due date in YYYY-MM-DD format.
  • Contact (required) — Contact information including name (required), phone number (required), telephone number, address, and whether the contact is a legal entity.
  • Linked User — Phone number of the user responsible for following up on the record.
  • Products (required) — List of products with product ID, quantity, and purchase price.
  • Answers (required) — Custom field answers consisting of field IDs and their associated answers.

Output shape

a single JSON object representing the updated record

Returns the updated record data as received from the Hamkar.co API after a successful HTTP PUT request to the record update endpoint.

Examples

Example 1: Update a specific record's status, topic, due date, and associated contact with products and answers.

Provide the recordId of the existing record to update and fill in all required fields including tag, topic, dueDate, full contact details, products array and answers array. Optionally specify the linkedUser by phone number.

Links

Discussion