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 orders. Specifically, the Order - Update operation allows users to update details of an existing order by specifying its ID and providing fields to modify. This is useful in scenarios where order information needs correction or status updates after creation.

Practical examples include:

  • Changing the status of an order from "draft" to "active".
  • Updating the name or description associated with an order.
  • Correcting order metadata without creating a new order.

Properties

Name Meaning
ID The unique identifier of the order to update.
Additional Fields Optional fields to update on the order:
- Name: The new name for the order.
- Description: A textual description of the order.
- Status: The current state of the order; possible values are Active, Inactive, or Draft.

Output

The node outputs a JSON object representing the updated order as returned by the Salla API. This typically includes all order details such as ID, name, description, status, and other metadata reflecting the changes made.

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 (configured as credentials in n8n).
  • Uses HTTP methods (PUT) to interact with the Salla API endpoints.
  • No additional external dependencies beyond the configured API credential.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent order ID will result in an error from the API.
    • Omitting required fields or sending unsupported field values may cause the update to fail.
    • Network or authentication failures can prevent successful API calls.
  • Error messages:

    • "The operation "update" is not supported for orders!" — indicates an internal logic error or misconfiguration; ensure the operation and resource parameters are correctly set.
    • API errors related to authorization or invalid input will be passed through; verify API credentials and input data correctness.
  • Resolution tips:

    • Double-check the order ID exists in the Salla system before updating.
    • Validate that the status value is one of the allowed options.
    • Ensure the API credentials are valid and have sufficient permissions.

Links and References

Discussion