Synca Superpharm icon

Synca Superpharm

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

Returns → Get Returns

AI-generated

Overview

This node operation retrieves return requests from the Superpharm Marketplace API. It is useful for scenarios where users need to fetch and manage return data, such as processing customer returns, tracking return statuses, or integrating return information into other workflows. For example, an e-commerce platform can use this operation to automatically pull return requests and update their internal systems or notify customer service teams.

Use Case Examples

  1. Fetch a list of return requests with pagination and sorting options.
  2. Retrieve return requests filtered by date range or shop ID for multi-shop users.

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 in seconds.

Output

JSON

  • json - The JSON output contains the return requests data retrieved from the Superpharm API. If the full response option is enabled, it includes the entire API response with metadata. Otherwise, it contains the parsed list of return requests or a message indicating no returns were found.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Common issues include authentication errors due to invalid or missing credentials. Ensure the correct Superpharm API credentials are selected.
  • Rate limiting errors (HTTP 429) may occur; enabling the 'Handle Rate Limiting' option allows automatic retries.
  • Timeout errors can happen if the API response is slow; adjust the 'Request Timeout' setting as needed.
  • If no returns are found, the node outputs a message indicating no returns were found rather than an error.

Links

Discussion