Petstore icon

Petstore

Interact with Petstore API

Overview

This node creates a new user in the Petstore system by sending user details such as ID, username, first name, last name, email, password, phone, and user status to the Petstore API. It is useful for automating user registration or management workflows where new user accounts need to be programmatically added.

Properties

Name Meaning
Id Unique identifier for the user to be created.
Username Username for the new user account.
First Name First name of the user.
Last Name Last name of the user.
Email Email address of the user.
Password Password for the user account.
Phone Phone number of the user.
User Status Status code representing the user's state (e.g., active, inactive).

Output

JSON

  • id - The unique identifier of the created user.
  • username - The username of the created user.
  • firstName - The first name of the created user.
  • lastName - The last name of the created user.
  • email - The email address of the created user.
  • phone - The phone number of the created user.
  • userStatus - The status of the created user.

Dependencies

  • Petstore API

Troubleshooting

  • Ensure that all required user fields are provided and valid to avoid API validation errors.
  • Check that the API credentials (if required) are correctly configured to authenticate requests.
  • If the API returns an error, verify the network connectivity and the API endpoint URL.
  • Common error messages may include authentication failures, missing required fields, or invalid data formats. Resolving these typically involves correcting input data or updating credentials.

Links

Discussion