NicoChat icon

NicoChat

Integração com a API do NicoChat

Campo Personalizado → Definir Multiplos Campos

AI-generated

Summary

Set multiple custom field values (up to 20) for a specific contact identified by their unique user NS.

Inputs

  • User NS (required) — Unique identifier (user_ns) of the contact for whom custom fields will be set.
  • Campos (required) — List of up to 20 custom fields, each specifying the field name or ID and the value to assign.

Output shape

A JSON object representing the API response confirming the update of the specified custom fields on the contact.

The operation sends a PUT request to update multiple fields at once. The returned data corresponds to the NicoChat API's response and may include success or error details.

Examples

Example 1: Set multiple custom fields on a contact

Provide the contact's User NS and a list of custom fields with their respective values to update multiple fields simultaneously.

Discussion