Dukan icon

Dukan

Interact with the Dukan API

Store Client → Update

AI-generated

Summary

Update an existing store client's details by specifying their client ID and the fields to modify, such as name, phone number, and ban status.

Inputs

  • Client ID (required) — The MongoDB ObjectId of the store client to update.
  • Use JSON — Toggle to define the update payload as a raw JSON object.
  • JSON — A JSON string containing optional client fields: clientPhoneNumber (string), clientName (string), and isBanned (boolean). Used when 'Use JSON' is enabled.
  • Additional Fields — Individual fields to update: clientName (string), clientPhoneNumber (string), and isBanned (boolean). Used when 'Use JSON' is disabled.
  • Force Custom Auth Header — Whether to override the configured credentials and use a custom API key provided in this node.
  • Custom API Key — The API key to use for authentication when forcing custom auth header.
  • Force Custom Base URL — Whether to override the credentials' base URL with a custom one provided in this node.
  • Custom Base URL — Custom base URL for API requests, excluding the /v1/external suffix.

Output shape

A single JSON object representing the updated store client resource as returned from the Dukan API.

The updated client data includes any changes made to provided fields. Authentication and base URL can be overridden at the node level. Errors or API failures will result in failure response from the node.

Links

Discussion