Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Customer → Update

AI-generated

Overview

This node operation updates an existing customer in the Salla e-commerce platform. It allows users to modify customer details such as first name, last name, mobile number, mobile country code, email, gender, birthday, and associated customer group IDs. This operation is useful for maintaining up-to-date customer information in an automated workflow, such as updating customer profiles after receiving new data from other systems or user inputs.

Use Case Examples

  1. Updating a customer's email and mobile number after they submit a profile update form.
  2. Changing the customer's group memberships based on their recent purchases or loyalty status.

Properties

Name Meaning
ID The unique identifier of the customer to update.
Additional Fields Optional customer details to update, including first name, last name, mobile number, mobile country code, email, gender, birthday, and group IDs.

Output

JSON

  • id - The unique identifier of the updated customer.
  • first_name - Updated first name of the customer.
  • last_name - Updated last name of the customer.
  • mobile - Updated mobile number of the customer.
  • mobile_code_country - Updated mobile country code.
  • email - Updated email address.
  • gender - Updated gender of the customer.
  • birthday - Updated birthday of the customer.
  • groups - Updated list of customer group IDs.

Dependencies

  • Salla API OAuth2 credentials

Troubleshooting

  • Ensure the customer ID provided exists in the Salla platform; otherwise, the update will fail with a resource not found error.
  • Verify that the OAuth2 credentials for Salla API are correctly configured and have sufficient permissions to update customer data.
  • Check that the group IDs provided in the 'Group IDs' field are valid and exist in the system to avoid errors during update.
  • If the API returns an error, review the error message for details such as invalid field formats or missing required fields and correct accordingly.

Discussion