Actions11
Overview
This node integrates with the AliExpress Affiliate API, enabling users to perform various affiliate-related operations such as generating affiliate links, retrieving product and category information, fetching promotional data, and accessing order details. It is useful for affiliate marketers who want to automate data retrieval from AliExpress to promote products, track orders, or analyze promotions.
Common scenarios include:
- Generating affiliate links for specific products or URLs to earn commissions.
- Fetching lists of hot or featured products to display on websites or apps.
- Retrieving detailed product information for marketing or analysis.
- Accessing order information to monitor sales performance.
For example, a user can generate an affiliate link for a product URL with a custom tracking ID or fetch a list of hot products filtered by category and price range.
Properties
Name | Meaning |
---|---|
Tracking ID | Your affiliate tracking ID used to track referrals. Optional; if not provided, the default from credentials is used. |
Note: The node supports many other properties depending on the selected operation (e.g., keywords, category IDs, page number, sort order). Since only "Tracking ID" was provided in the input properties, this table focuses on it.
Output
The node outputs an array of JSON objects, each representing the response from the AliExpress Affiliate API for each input item processed. The structure of the json
output field corresponds directly to the API response body, which varies depending on the operation performed.
If the API returns data successfully, the output JSON contains the relevant data fields as per the AliExpress API documentation. If an error occurs during the API call and the node is configured to continue on failure, the output JSON will contain an error
field with the error message.
The node does not output binary data.
Dependencies
- Requires an API key credential for the AliExpress Affiliate API, including an API key, API secret, and optionally a default tracking ID.
- Uses the AliExpress SDK client internally to communicate with the API endpoint at
https://api-sg.aliexpress.com/sync
. - No additional environment variables are required beyond the API credentials.
Troubleshooting
- Missing Credentials: The node throws an error if the required API key or secret is missing. Ensure that valid AliExpress Affiliate API credentials are configured.
- Invalid Tracking ID: If no tracking ID is provided either in the node parameters or credentials, some operations may fail or not track properly.
- API Response Errors: Errors returned by the AliExpress API (e.g., invalid parameters, rate limits) will be surfaced. Check the error messages for guidance.
- Unexpected API Response Structure: If the API response does not contain the expected
body
field, the node throws an error indicating an unexpected response. - Continue On Fail Behavior: When enabled, the node captures errors per item and outputs them instead of stopping execution, allowing partial success.
Links and References
This summary is based solely on static analysis of the provided source code and property definitions.