Synca Superpharm icon

Synca Superpharm

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

Inventory → Update Inventory

AI-generated

Overview

This node integrates with the Superpharm Marketplace API to update product inventory levels. It is useful for synchronizing stock quantities in the marketplace with the user's internal inventory system, ensuring accurate stock availability for products. For example, a retailer can use this node to update inventory counts after receiving new stock or after sales to keep the marketplace data current.

Use Case Examples

  1. Updating inventory quantities for multiple products in bulk to reflect recent stock changes.
  2. Synchronizing inventory levels after a stock audit to ensure marketplace accuracy.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to use for authentication.
Data JSON data containing the inventory update details, such as product IDs and their new quantities.
Query Options Optional parameters to control the request such as limit, offset, pagination token, sorting, shop ID for multi-shop users, and locale for internationalized data.
Advanced Options Additional options to control the API request behavior, including returning the full response, handling rate limiting automatically, and setting request timeout.

Output

JSON

  • json - The JSON response from the Superpharm API after updating inventory, typically containing the updated inventory data or confirmation.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Common issues include invalid or expired API credentials, resulting in authentication errors. Verify credentials and re-authenticate if needed.
  • Malformed JSON data in the 'Data' property can cause request failures. Ensure the JSON is correctly formatted and contains required fields.
  • Rate limiting errors (HTTP 429) may occur if too many requests are sent in a short time. Enable 'Handle Rate Limiting' to automatically retry.
  • Timeout errors can happen if the API is slow to respond. Adjust the 'Request Timeout' setting as needed.

Links

Discussion