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, allowing users to manage various resources such as orders, products, customers, addresses, special offers, coupons, shipments, and digital products. Specifically, for the Special Offer resource with the Create operation, the node enables creating new special offers on the Salla platform by sending the relevant data to the API.
Typical use cases include automating the creation of promotional campaigns or discounts by programmatically adding special offers based on business logic or external triggers. For example, a user might create a special offer when inventory reaches a certain level or during seasonal sales events.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Collection of optional fields to define the special offer details: |
| - Name | The name/title of the special offer |
| - Description | A textual description explaining the special offer |
| - Status | The current status of the special offer; options are: Active, Inactive, Draft |
Output
The node outputs an array of JSON objects representing the response from the Salla API after creating the special offer. This typically includes all details of the newly created special offer such as its ID, name, description, status, and any other metadata returned by the API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Salla.sa e-commerce platform via an OAuth2 API credential.
- The node depends on the
sallaApiRequestfunction (from bundled dependencies) to make authenticated HTTP requests to the Salla API endpoints. - Proper configuration of the OAuth2 credentials within n8n is necessary for successful API communication.
Troubleshooting
Common Issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing incomplete or invalid fields in "Additional Fields" may result in API validation errors.
- Network connectivity issues can prevent the node from reaching the Salla API.
Error Messages:
"The operation "create" is not supported for special offers!"— This indicates a misconfiguration or unsupported operation; ensure the operation parameter is correctly set to "create".- API error messages related to invalid input will be passed through; verify that required fields like "Name" are provided and valid.
Resolution Tips:
- Double-check OAuth2 credentials and permissions.
- Validate input fields before execution.
- Review API limits or restrictions on the Salla platform.
Links and References
- Salla API Documentation (for detailed API endpoint info)
- n8n OAuth2 Credential Setup
- Salla Special Offers API Endpoint