Synca Superpharm icon

Synca Superpharm

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

Messages → Send Message

AI-generated

Overview

This node operation sends a new message or replies to an existing message thread within the Superpharm Marketplace API. It is useful for managing customer communication by allowing users to send messages related to orders or customer inquiries. For example, a user can reply to a customer query in a specific message thread or initiate a new message to a customer.

Use Case Examples

  1. Replying to a customer message in an existing thread by providing the thread ID and message content.
  2. Sending a new message to a customer without specifying a thread ID, initiating a new conversation.

Properties

Name Meaning
Credentials Select the Superpharm API credentials to use for authentication.
Thread ID The thread ID for replying to an existing message thread. If empty, a new message thread may be created.
Data JSON data containing the message content and any other relevant information for sending the message.
Query Options Additional query options such as pagination, sorting, shop ID, and locale for the request.
Advanced Options Additional options to control the request behavior such as returning the full API response, handling rate limiting, and request timeout.

Output

JSON

  • json - The JSON response from the Superpharm API after sending the message. This may include message details or confirmation of the sent message.

Dependencies

  • Superpharm API credentials for authentication

Troubleshooting

  • Ensure valid Superpharm API credentials are provided to avoid authentication errors.
  • Check that the thread ID is correct when replying to an existing message thread to prevent message delivery failures.
  • Verify the JSON data format in the 'Data' property to avoid malformed request errors.
  • If rate limiting errors occur, enable the 'Handle Rate Limiting' option to automatically retry the request.

Links

Discussion