Actions25
Customer → Create
AI-generatedOverview
This node interacts with the SerB2B API to create a new customer record. It is useful in scenarios where you want to automate the addition of customer data into the SerB2B system, such as during onboarding new clients or integrating customer data from other platforms. For example, you can use this node to create a customer by providing their email, name, and optional additional details like company, phone, address, and tax information.
Use Case Examples
- Creating a new customer with mandatory fields email and name.
- Creating a customer with additional optional fields such as company, phone, and address.
Properties
| Name | Meaning |
|---|---|
| The email address of the customer to be created. | |
| Name | The full name of the customer to be created. |
| Additional Fields | Optional additional customer details such as company, phone, mobile, address, city, country, tax number, tax office, and status flags (is active, is approved). |
Output
JSON
mail- The email address of the created customer.yetkili- The name of the customer (contact person).company- The company name of the customer, if provided.phone- The phone number of the customer, if provided.mobile- The mobile number of the customer, if provided.address- The address of the customer, if provided.city- The city of the customer, if provided.country- The country of the customer, defaulting to Turkey if not specified.tax_number- The tax number of the customer, if provided.tax_office- The tax office of the customer, if provided.is_active- Boolean flag indicating if the customer is active.is_approved- Boolean flag indicating if the customer is approved.
Dependencies
- SerB2B API with an API key credential
Troubleshooting
- Common issues include missing required fields such as email or name, which will cause the API request to fail.
- API authentication errors if the API key credential is not set or invalid.
- Network or connectivity issues when calling the SerB2B API.
- Invalid data format in additional fields may cause the request to be rejected.
Links
- SerB2B API Documentation - Official API documentation for SerB2B, useful for understanding the available endpoints and data formats.