CloudBlue Commerce SimpleAPI icon

CloudBlue Commerce SimpleAPI

Interact with CloudBlue Commerce SimpleAPI

Customer → Create

AI-generated

Overview

This node creates a new customer record in the system. It is useful for scenarios where you need to add customer information such as name, type (person or company), contact details, and address into a database or CRM system. For example, it can be used in automated workflows to onboard new customers by capturing their essential details and storing them automatically.

Use Case Examples

  1. Creating a new customer with their name, type, contact email, and address information.
  2. Adding a company as a customer with additional fields like description, external ID, and tax ID.

Properties

Name Meaning
Name The name of the customer.
Type The type of the customer, either a person or a company.
Contact Contact information for the customer including email, first name, last name, and phone number.
Address Address information for the customer including address lines, city, state, postal code, and country.
Additional Fields Optional additional fields such as description, external ID, and tax ID for the customer.

Output

JSON

  • id - Unique identifier of the created customer.
  • name - Name of the created customer.
  • type - Type of the created customer (person or company).
  • contact
    • email - Email address of the customer's contact person.
    • firstName - First name of the customer's contact person.
    • lastName - Last name of the customer's contact person.
    • phone - Phone number of the customer's contact person.
  • address
    • address1 - First line of the customer's address.
    • address2 - Second line of the customer's address.
    • city - City of the customer's address.
    • state - State or province of the customer's address.
    • postalCode - Postal or ZIP code of the customer's address.
    • country - Country of the customer's address.
  • description - Description of the customer.
  • externalId - External reference ID for the customer.
  • taxId - Tax identification number of the customer.

Dependencies

  • An API key credential or authentication token to access the customer management API.

Troubleshooting

  • Common issues include missing required fields such as name, email, or address lines which will cause the node to throw validation errors.
  • Errors related to API authentication failure if the API key or token is invalid or expired.
  • Network or connectivity issues when the node cannot reach the external API service.
  • If the resource or operation is not found or not migrated, the node throws an error indicating the resource is unavailable.

Links

Discussion