Actions38
- Order Actions
- Product Actions
- Customer Actions
- Address Actions
- Special Offer Actions
- Coupon Actions
- Shipment Actions
- Digital Product Actions
Overview
This node integrates with the Salla.sa e-commerce platform API to manage various resources, including addresses. Specifically, for the Address resource and the Create operation, the node allows users to create a new address record in their Salla store.
Typical use cases include automating the addition of customer or shipping addresses during order processing workflows, syncing address data from other systems, or bulk-creating addresses based on external inputs.
For example, you might use this node to:
- Automatically add a new shipping address when a customer places an order.
- Create multiple addresses imported from a CRM system.
- Add addresses with specific statuses or descriptions as part of a marketing campaign.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | A collection of optional fields to set when creating the address: |
| - Name | The name of the address resource (string). |
| - Description | A description for the address (string). |
| - Status | The status of the address; options are: Active, Inactive, Draft. |
Output
The node outputs a JSON array where each element corresponds to the created address object returned by the Salla API. The structure of each JSON object matches the API response for an address creation, typically including fields such as the address ID, name, description, status, and any other metadata provided by the API.
No binary data output is produced by this node.
Dependencies
- Requires an active connection to the Salla.sa e-commerce platform via an API authentication credential (e.g., OAuth2 token).
- The node depends on the
sallaApiRequesthelper function to make HTTP requests to the Salla API endpoints. - Proper configuration of the API credentials within n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing invalid or incomplete additional fields may result in API validation errors.
- Network connectivity problems can prevent communication with the Salla API.
Error messages:
- Errors thrown by the node will often indicate unsupported operations if the operation-resource combination is incorrect.
- API error messages from Salla will be propagated, such as "Invalid status value" or "Missing required field".
Resolutions:
- Verify that the API credentials are correctly set up and have sufficient permissions.
- Ensure all required fields are provided and valid according to the Salla API documentation.
- Check network connectivity and retry if transient errors occur.
Links and References
- Salla API Documentation (for detailed API endpoint specifications)
- n8n Documentation (for general usage of custom nodes and credentials)