Synca Superpharm icon

Synca Superpharm

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

Offers → Update Offer Status

AI-generated

Overview

This node operation updates the status of product offers in the Superpharm marketplace via the Superpharm API. It is useful for managing the availability or visibility of product offers, such as activating or deactivating offers in bulk. For example, a user can update the status of multiple offers to 'active' or 'inactive' based on inventory changes or promotional campaigns.

Use Case Examples

  1. Updating the status of multiple product offers to 'active' to make them available for sale.
  2. Deactivating offers that are out of stock or discontinued.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to use for authentication.
Offers Data JSON array containing the offer data to update, such as product SKU, price, quantity, and status.
Query Options Optional parameters for filtering, pagination, sorting, and localization of the API request.
Advanced Options Additional options to control the API request behavior.

Output

JSON

  • json - The JSON output contains the API response data after updating the offer status. It may include updated offer details or metadata depending on the 'Return Full Response' option.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Common issues include invalid or expired API credentials, resulting in authentication errors.
  • Malformed JSON in the 'Offers Data' property can cause request failures; ensure the JSON array is correctly formatted.
  • Rate limiting errors (HTTP 429) may occur; enabling 'Handle Rate Limiting' retries the request automatically.
  • Timeout errors can happen if the API response is slow; adjust the 'Request Timeout' setting accordingly.

Links

Discussion