Actions12
- Product Actions
- Customer Actions
- Order Actions
- Webhook Actions
Customer → Update Customer
AI-generatedOverview
This node interacts with the Sapo API to update customer information. It is useful in scenarios where you need to modify existing customer data in your Sapo store, such as updating contact details, addresses, or other customer attributes. For example, you can use this node to update a customer's profile after receiving new information from a form submission or CRM system.
Use Case Examples
- Updating a customer's email address and phone number in Sapo after a customer submits updated contact information.
- Modifying customer address details based on recent changes in shipping preferences.
Properties
| Name | Meaning |
|---|---|
| Customer Data | The JSON object containing the customer data to update. This is required and should include the fields to be updated for the customer. |
Output
JSON
json- The JSON response from the Sapo API after updating the customer, containing the updated customer details.
Dependencies
- Requires an API key credential for authenticating with the Sapo API.
Troubleshooting
- Ensure the 'customer_id' parameter is correctly provided and corresponds to an existing customer in Sapo, otherwise the API call will fail.
- The 'customer_data' JSON must be correctly formatted and include valid fields as per Sapo API specifications; invalid JSON or unsupported fields will cause errors.
- Common error messages include 'Unknown operation' if the operation name is incorrect, or API errors related to authentication or data validation. Verify credentials and input data accordingly.
Links
- Sapo API Documentation - Official documentation for the Sapo API, useful for understanding the data structure and available fields for customer updates.