Synca Superpharm icon

Synca Superpharm

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

Orders → Refund Order

AI-generated

Overview

This node operation processes refunds for order lines in the Superpharm marketplace. It allows users to specify the order ID and provide detailed refund data in JSON format, such as which order lines to refund, quantities, and reasons for the refund. This operation is useful for automating refund workflows in e-commerce scenarios where orders need to be partially or fully refunded due to various reasons like item not received or customer cancellation.

Use Case Examples

  1. A user wants to refund one item from an order due to the item not being received by the customer. They provide the order ID and refund details in JSON format specifying the order line and quantity to refund.
  2. A business automates their refund process by integrating this node to handle refund requests directly from their order management system, ensuring accurate and timely refunds.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to use for authentication.
Order ID The unique identifier of the order to refund.
Refunds Data JSON array containing refund details such as order line IDs, quantities, and reasons for refund.
Query Options Optional parameters for pagination, sorting, locale, and shop identification to customize the API request.
Advanced Options Additional options to control the API request behavior such as returning full response, handling rate limiting, and request timeout.

Output

JSON

  • json - The JSON output contains the refund operation response from the Superpharm API. It may include refund confirmation details or error messages depending on the API response.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Common issues include invalid or missing order ID, malformed refund JSON data, or API authentication errors.
  • Error messages from the API may indicate issues such as invalid refund quantities, unauthorized access, or rate limiting. Users should verify credentials, ensure correct JSON formatting, and handle rate limits as configured.

Links

Discussion