Synca Superpharm icon

Synca Superpharm

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

Orders → Attach Documents To Order

AI-generated

Overview

This node operation attaches documents to a specific order in the Superpharm Marketplace API. It is useful for scenarios where additional documentation such as invoices, receipts, or shipping labels need to be linked to an order record. For example, attaching a customer invoice PDF to an order for record-keeping or compliance purposes.

Use Case Examples

  1. Attach a customer invoice document to an order by providing the order ID, document type, and document URL.
  2. Attach shipping labels or other relevant documents to an order to facilitate order processing and tracking.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to authenticate the request.
Order ID The unique identifier of the order to which the document will be attached.
Document Type The type/category of the document being attached, e.g., CUSTOMER_INVOICE.
Document URL The URL where the document to be attached is located.
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 the full response, handling rate limiting, and setting request timeout.

Output

JSON

  • json - The JSON response from the Superpharm API after attaching the document to the order. This may include confirmation details or metadata depending on the 'Return Full Response' option.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Ensure the provided Order ID is valid and exists in the Superpharm system to avoid errors.
  • Verify the Document URL is accessible and correctly formatted to prevent attachment failures.
  • If rate limiting errors occur, enable the 'Handle Rate Limiting' option to allow automatic retries.
  • Check the API credentials are correctly configured and have the necessary permissions for attaching documents.

Links

Discussion