Synca Superpharm icon

Synca Superpharm

Comprehensive Superpharm Marketplace API integration for Orders, Offers, Products, Inventory, Messages, Shipping, and more

Promotions → Get Promotions

AI-generated

Overview

This node operation retrieves promotional campaigns from the Superpharm Marketplace API. It is useful for users who want to fetch details about current or past promotions, including filtering and sorting options. For example, a marketing team could use this node to automatically gather promotion data for reporting or to synchronize promotions with other systems.

Use Case Examples

  1. Fetch a list of active promotions with a limit of 10 items.
  2. Retrieve promotions sorted by creation date in descending order.
  3. Get promotions for a specific shop ID and locale.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to use for authentication.
Query Options Options to control the query such as limit, offset, page token, sort field, order direction, shop ID, and locale for internationalized data.
Advanced Options Additional options such as returning the full API response, handling rate limiting automatically, and setting request timeout.

Output

JSON

  • json - The main JSON output containing the promotions data or the full API response if requested.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Common issues include authentication errors if credentials are invalid or missing.
  • Rate limiting errors may occur if too many requests are made; enabling automatic retry can help.
  • Timeout errors if the API response is slow; increasing the timeout setting may resolve this.

Links

Discussion