Dukan icon

Dukan

Interact with the Dukan API

Team User → Update

AI-generated

Summary

Update a Team User's details in the Dukan store by their ID, allowing modification of fields like email, name, phone number, profile image, role, and receiving orders settings.

Inputs

  • Team User ID (required) — The unique identifier of the team user to update.
  • Use JSON — Choose to supply the update data as a JSON object instead of individual fields.
  • JSON — JSON object containing the fields to update (used if 'Use JSON' is true).
  • Allow Receiving New Orders — Set whether the user is allowed to receive new orders ('True', 'False', or 'Not Set').
  • Email — User's email address.
  • First Name — User's first name.
  • Last Name — User's last name.
  • Phone Number — User's phone number.
  • Profile Image — URL for the user's profile image.
  • Role — User's role within the store (e.g., Store Admin, Store Manager, etc.).
  • Force Custom Auth Header — Use a custom API key for this request instead of the node's configured credentials.
  • Custom API Key — The API key to use when custom auth header is forced.
  • Force Custom Base URL — Use a custom base URL for the API request instead of the credentials base URL.
  • Custom Base URL — Custom base URL to use for API requests (without the /v1/external suffix).

Output shape

a single updated Team User record as returned by the Dukan API

The output includes the updated team user information in JSON format; the operation requires the 'Team User ID'; fields not set in the request remain unchanged; users can choose to update via structured fields or by providing a full JSON object for the payload.

Examples

Example 1: Update user first and last name and enable receiving new orders

Set 'Team User ID', disable 'Use JSON', fill 'First Name', 'Last Name', and set 'Allow Receiving New Orders' to 'True'. After execution, the specified team user's info and permissions are updated accordingly.

Example 2: Update user using custom JSON payload

Set 'Team User ID', enable 'Use JSON', provide a JSON string with any fields to update (e.g., email, role). Optionally, specify custom API key or base URL if needed. Execution sends raw JSON payload to update the team user.

Links

Discussion