SocialHub icon

SocialHub

SocialHub System API Integration Node

Overview

This node integrates with the SocialHub system API to perform various operations related to order management, specifically providing a paginated query of a specified customer's transaction list. It is useful for retrieving transaction data such as orders made by a customer, supporting pagination and optional date range filtering. Practical applications include generating customer transaction reports, auditing purchase history, or syncing transaction data for further processing.

Use Case Examples

  1. Retrieve the first page of transactions for a customer with a page size of 10.
  2. Query transactions for a customer within a specific date range to analyze purchase behavior over time.

Properties

Name Meaning
Customer Code The unique identifier code of the customer whose transaction list is being queried.
Page Number The page number of the transaction list to retrieve, starting from 1.
Page Size The number of transactions to retrieve per page, with a maximum value of 100.
Start Date Optional start date to filter transactions from this date onward.
End Date Optional end date to filter transactions up to this date.

Output

JSON

  • data - The transaction list data returned from the API, which may be an array or an object containing transaction details.

Dependencies

  • Requires an API key credential for SocialHub API authentication.

Troubleshooting

  • Ensure the Customer Code is valid and exists in the system to avoid empty or error responses.
  • Page Number and Page Size should be positive integers; Page Size should not exceed 100 to prevent request errors.
  • Date filters (Start Date and End Date) should be in valid date-time format; invalid dates may cause API errors.
  • API authentication errors may occur if the SocialHub API credentials are missing or incorrect; verify the API key setup.

Links

Discussion