Synca Superpharm icon

Synca Superpharm

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

Orders → Accept Order

AI-generated

Overview

This node operation accepts pending order lines in the Superpharm marketplace. It is used to confirm and accept specific lines within an order, typically after reviewing the order details. This is useful in scenarios where a seller needs to acknowledge and approve parts of an order before processing further steps like shipping or invoicing.

Use Case Examples

  1. Accepting specific lines of a customer's order after verifying stock availability.
  2. Confirming partial acceptance of an order when some items are out of stock.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to authenticate the request.
Order ID The unique identifier of the order to accept lines for.
Order Lines Data A JSON array specifying which order lines to accept and their acceptance status.
Query Options Optional parameters for filtering, pagination, sorting, locale, and shop context.
Advanced Options Additional options such as returning the full API response, handling rate limiting, and request timeout.

Output

JSON

  • json - The response from the Superpharm API after accepting the order lines. This can be either the full response or the parsed data depending on the 'Return Full Response' option.

Dependencies

  • Superpharm API credentials for authentication
  • SyncaService for API interaction

Troubleshooting

  • Ensure the 'Order ID' is correct and corresponds to an existing order.
  • Validate the 'Order Lines Data' JSON format and content to match expected API schema.
  • Check API credentials are valid and have necessary permissions.
  • If rate limiting errors occur, verify if 'Handle Rate Limiting' is enabled to retry automatically.
  • Timeout errors can be mitigated by increasing the 'Request Timeout' value in advanced options.

Links

Discussion