SocialHub icon

SocialHub

SocialHub System API Integration Node

Overview

This node integrates with the SocialHub system API to perform various operations related to customer management, member management, order management, points management, and master data management. Specifically, for the 'Customer Management' resource and 'Query Customer Information' operation, it allows querying customer information based on identifiers such as mobile phone or email. This is useful for retrieving detailed customer data in scenarios like customer support, marketing, or CRM updates.

Use Case Examples

  1. Query customer information by mobile phone number with international prefix.
  2. Query customer information by email address.

Properties

Name Meaning
Query Parameter Type Specifies the type of member identifier used for the query, either mobile phone or email.
Query Parameter The actual value of the identifier used for querying the customer information, e.g., the phone number or email address.
Phone Prefix The international phone prefix code, required only when the query parameter type is mobile phone.
Current Timestamp The current timestamp in milliseconds when the request is sent, used for request validation or logging.
Random ID A random ID generated when the request is sent, used for request validation or uniqueness.

Output

JSON

  • data - The queried customer information returned from the SocialHub API, structured as JSON.

Dependencies

  • Requires an API key credential for SocialHub API authentication.

Troubleshooting

  • Ensure the 'Query Parameter Type' matches the format of the 'Query Parameter' value (e.g., phone number format for mobile phone).
  • When using mobile phone as the query type, the 'Phone Prefix' must be provided and correctly formatted.
  • The 'timestamp' and 'nonceId' must be current and unique to avoid request rejection by the API.
  • Common errors include unsupported operation errors if resource or operation parameters are incorrect.
  • Network or authentication errors may occur if the API key credential is missing or invalid.

Links

Discussion