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 various resources such as orders, products, customers, addresses, special offers, coupons, shipments, and digital products. Specifically, for the Special Offer - Get operation, it retrieves detailed information about a single special offer by its unique ID.

Common scenarios where this node is beneficial include:

  • Fetching details of a specific special offer to display or process in workflows.
  • Automating marketing campaigns by retrieving current special offers.
  • Integrating special offer data into other systems like CRMs or email marketing tools.

Example use case: Automatically retrieve a special offer's details when triggered by an event, then send the offer information via email to targeted customers.

Properties

Name Meaning
ID The unique identifier of the special offer to retrieve. This is a required string input.

Output

The node outputs a JSON object representing the special offer retrieved from the Salla API. The structure corresponds to the special offer resource as defined by the Salla platform, typically including fields such as name, description, status, start and end dates, discount details, and other metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Salla.sa e-commerce platform API.
  • Requires an API authentication credential (OAuth2 token) configured in n8n to authorize requests.
  • Uses internal helper functions to make HTTP requests to the Salla API endpoints.

Troubleshooting

  • Error: "The operation 'get' is not supported for special offers!"
    This error indicates an unsupported operation was requested. Ensure the operation parameter is set to "get" for the Special Offer resource.

  • Error related to missing or invalid ID
    The "ID" property is mandatory. If omitted or incorrect, the API call will fail. Verify that the ID provided corresponds to an existing special offer.

  • Authentication errors
    If the API credentials are invalid or expired, requests will fail. Re-authenticate or update the API key/token in the node credentials.

  • Network or API downtime issues
    Temporary connectivity problems or Salla API outages can cause failures. Retry after some time or check the API status.

Links and References

Discussion