SocialHub icon

SocialHub

SocialHub System API Integration Node

Overview

This node integrates with the SocialHub system API to manage master data, specifically allowing the addition of store information. It is useful for organizations that need to programmatically add or update store details such as organization codes, store names, categories, types, and statuses. For example, a retail chain can use this node to automate the process of adding new store locations into their master data system.

Use Case Examples

  1. Adding a new store with details like organization code, store name, and category.
  2. Updating store status or type for existing stores in the master data system.

Properties

Name Meaning
Store ID Unique identifier for the store, optional for adding or updating a store.
Organization Code Code representing the organization the store belongs to, required.
Organization Name Name of the organization, required.
Parent Organization Code Code of the parent organization, if applicable.
Source Source code indicating the origin of the store data.
Source Name Name of the source providing the store data.
Store Nickname A nickname or short name for the store.
Store Chinese Name Store name in Chinese.
Store English Name Store name in English.
Store Category Numeric identifier for the store category.
Store Type Type of the store, either Headquarters (1) or Store (99).
Store Status Status of the store, either Normal (10) or Closed (20).

Output

JSON

  • data - Response data from the SocialHub API after adding or updating store information.

Dependencies

  • Requires an API key credential for SocialHub API authentication.

Troubleshooting

  • Ensure all required fields like Organization Code and Organization Name are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • If the API returns an unsupported operation error, verify that the resource is set to 'Master Data Management' and operation to 'Add Store'.
  • Network or timeout issues may cause request failures; ensure stable internet connection and correct endpoint URL.

Links

Discussion