Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Customer → Create

AI-generated

Overview

This node operation creates a new customer in the Salla.sa e-commerce platform. It allows users to specify various customer details such as first name, last name, mobile number, mobile country code, email, gender, birthday, and group IDs. This operation is useful for automating customer data entry and management in e-commerce workflows, such as adding new customers from external systems or forms.

Use Case Examples

  1. Automatically create a customer in Salla when a new user signs up on a website.
  2. Add customer details from a CRM system into Salla to keep customer data synchronized.

Properties

Name Meaning
Additional Fields Collection of optional customer details to specify when creating a customer, including first name, last name, mobile number, mobile country code, email, gender, birthday, and group IDs.

Output

JSON

  • id - Unique identifier of the created customer
  • first_name - Customer's first name
  • last_name - Customer's last name
  • mobile - Customer's mobile number
  • mobile_code_country - Country code for the customer's mobile number
  • email - Customer's email address
  • gender - Customer's gender
  • birthday - Customer's date of birth
  • groups - Array of customer group IDs the customer belongs to

Dependencies

  • Salla.sa e-commerce platform API
  • An OAuth2 API credential for authentication

Troubleshooting

  • Ensure that the OAuth2 API credentials are correctly configured and valid to avoid authentication errors.
  • Verify that the 'groups' field, if provided, contains valid comma-separated numeric group IDs to prevent request failures.
  • Check that required fields are correctly formatted, e.g., date fields in YYYY-MM-DD format.
  • Common error messages include unsupported operation errors if the operation parameter is incorrect, or API request errors if the payload is invalid or incomplete.

Links

Discussion