Actions26
- Product Actions
- Order Actions
- Customer Actions
- Category Actions
- Stock Actions
Overview
This node integrates with the PrestaShop API to create a new customer record in a PrestaShop store. It is useful for automating customer management workflows, such as adding new customers from external systems, onboarding users from marketing campaigns, or syncing customer data between platforms.
Typical use cases include:
- Automatically creating customer accounts when users sign up on another platform.
- Importing customer lists into PrestaShop.
- Enriching customer profiles by setting additional attributes like newsletter subscription or company details.
For example, you could use this node to create a customer with their email, name, and password, and optionally set preferences like newsletter subscription or assign them to specific customer groups.
Properties
| Name | Meaning |
|---|---|
| Customer email address (must be a valid email format). | |
| First Name | Customer's first name. |
| Last Name | Customer's last name. |
| Password | Customer account password (input is masked). |
| Additional Customer Fields | Optional extra fields to specify more customer details: - Gender ID: Mr. or Mrs. - Birthday: Customer's birth date. - Newsletter: Subscribe to newsletter (true/false). - Opt-in: Partner offers opt-in (true/false). - Active: Whether the account is active. - Default Group ID: Numeric ID of default customer group. - Language ID: Default language ID. - Website: Customer website URL (must be valid URL starting with http:// or https://). - Company: Company name. - SIRET: Company SIRET number. - APE: Company APE code. - Outstanding Allow Amount: Allowed outstanding amount (decimal). - Max Payment Days: Maximum payment days allowed. - Note: Private note about the customer. |
| Advanced Options | Additional settings: - Output Format: JSON (recommended) or XML response. - Language ID: Filter localized fields by language. - Display Fields: Full or custom fields to return. - Custom Fields: Comma-separated list of fields if custom display selected. - Shop Context: All shops, specific shop, or shop group. - Shop ID: ID of specific shop (if applicable). - Shop Group ID: ID of shop group (if applicable). - Enable Debug Mode: Include debug info (URL, method, params) in response. |
Output
The node outputs the created customer data in the specified format (JSON by default). The json output contains the customer object with all requested fields, including any additional or advanced options applied.
If debug mode is enabled, the output also includes request details useful for troubleshooting.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the PrestaShop API.
- The node depends on the PrestaShop API being accessible and properly configured.
- No other external dependencies are required.
Troubleshooting
- Invalid Email Format: If the email does not match the regex pattern, the node will reject it. Ensure the email is correctly formatted.
- Authentication Errors: If the API key or credentials are incorrect or missing, the node will fail to connect. Verify your API credentials.
- Invalid URLs: The website field must be a valid URL starting with http:// or https://; otherwise, validation fails.
- Missing Required Fields: Email, first name, last name, and password are mandatory. Omitting these will cause errors.
- API Rate Limits or Connectivity Issues: Network problems or API limits may cause failures. Check connectivity and API usage quotas.
- Debug Mode: Enable debug mode to get detailed request information which can help identify issues.