Petstore icon

Petstore

Interact with Petstore API

Overview

This node operation allows creating multiple users in the Petstore system by providing a list of user objects in JSON format. It is useful for batch user creation scenarios, such as onboarding multiple users at once or migrating user data from another system. For example, you can input a JSON array of user details to create all those users in a single execution.

Properties

Name Meaning
Body A JSON array containing user objects to be created. Each user object should include properties like id, username, firstName, lastName, email, password, phone, and userStatus as per the Petstore API specification.

Output

JSON

  • id - Unique identifier of the created user
  • username - Username of the created user
  • firstName - First name of the created user
  • lastName - Last name of the created user
  • email - Email address of the created user
  • phone - Phone number of the created user
  • userStatus - Status of the created user (e.g., active, inactive)

Dependencies

Troubleshooting

  • Ensure the JSON body is a valid array of user objects; invalid JSON or incorrect structure will cause errors.
  • Check that required user fields (like username, email, password) are included for each user object to avoid API validation errors.
  • If the API returns authentication errors, verify that the API key or credentials are correctly configured in the node settings.
  • Network or connectivity issues to the Petstore API endpoint can cause request failures; verify network access and endpoint availability.

Links

Discussion