Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API to manage digital products. Specifically, for the "Digital Product" resource and the "Create" operation, it allows users to create new digital product entries in their Salla store by providing relevant details such as name, description, and status.

Common scenarios where this node is beneficial include automating the addition of new digital products after content creation, syncing digital product catalogs from other systems, or bulk uploading digital assets programmatically.

For example, a user could automate creating a new digital product whenever a new course video is uploaded to their content management system, ensuring the product is immediately available for sale on their Salla store.

Properties

Name Meaning
Additional Fields A collection of optional fields to define the digital product's attributes:
- Name: The name/title of the digital product.
- Description: A textual description of the digital product.
- Status: The current state of the product; options are "Active", "Inactive", "Draft".

Output

The node outputs an array of JSON objects representing the response from the Salla API after creating the digital product. This typically includes details of the newly created digital product 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 API authentication token (OAuth2 or similar).
  • The node depends on the sallaApiRequest function to make HTTP requests to the Salla API endpoints.
  • Proper credentials must be configured in n8n to authenticate API calls.

Troubleshooting

  • Common Issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Providing incomplete or invalid additional fields may result in API validation errors.
    • Network connectivity issues can prevent successful API communication.
  • Error Messages:

    • "The operation "create" is not supported for digital products!" β€” This indicates a misconfiguration or unsupported operation; ensure the resource is set to "Digital Product" and operation to "Create".
    • API error messages related to missing required fields or invalid values should be resolved by verifying input parameters.
  • Resolution Tips:

    • Double-check that all required fields are provided and correctly formatted.
    • Verify that the API credentials are valid and have sufficient permissions.
    • Use the node's "Continue On Fail" option to handle errors gracefully during batch operations.

Links and References

Discussion