Actions19
- Customer Actions
- Customer Catalog Actions
- Customer Platform Actions
- Order Actions
- Platform Actions
- Receivable Charge Actions
- Subscription Actions
- Tracking Actions
Overview
This node interacts with the Sherweb API to retrieve pricing information for specific items in a customer's catalog. It is particularly useful for businesses or integrators who need to programmatically access up-to-date pricing details of products or services assigned to a customer within Sherweb's platform.
A common scenario includes fetching pricing data for multiple SKUs (Stock Keeping Units) associated with a particular customer, enabling automated price comparisons, billing calculations, or inventory management workflows.
For example, a user can input a customer ID and a list of SKUs to get the current pricing information for those items, which can then be used to update internal systems or trigger further automation based on pricing changes.
Properties
| Name | Meaning |
|---|---|
| API Type | Selects which Sherweb API to use: "Service Provider API" or "Distributor API". |
| Customer ID | The unique identifier of the customer whose catalog pricing information is being requested. |
| SKUs | An array of SKU strings representing the catalog items for which pricing information is needed. |
Output
The node outputs JSON data containing the pricing information for the specified SKUs under the given customer. The exact structure depends on the Sherweb API response but typically includes fields such as SKU identifiers, prices, currency, and possibly additional metadata related to each catalog item.
If binary data were involved (e.g., files or images), it would be indicated here, but this node focuses on JSON responses with pricing details.
Dependencies
- Requires an API key credential for authentication with Sherweb's API.
- The node uses the base URL
https://api.sherweb.com. - Proper configuration of the API key and subscription key in n8n credentials is necessary.
- The node supports two API types: Service Provider API and Distributor API, which may require different permissions or credentials.
Troubleshooting
- Missing or invalid API credentials: Ensure that the API key and subscription key are correctly configured in n8n credentials.
- Invalid Customer ID or SKUs: Verify that the provided customer ID exists and that the SKUs are valid and associated with that customer.
- API rate limits or connectivity issues: Network problems or exceeding Sherweb API rate limits can cause errors; check network connectivity and API usage quotas.
- Incorrect API Type selection: Choosing the wrong API type might lead to unexpected errors or empty results; confirm the correct API type for your use case.
Common error messages will generally relate to authentication failures, resource not found, or validation errors on input parameters. Resolving these involves checking credentials, input values, and API documentation for correct usage.
Links and References
- Sherweb API Documentation (for detailed API endpoints and data structures)
- n8n Documentation on Using API Credentials
- General guidance on Working with HTTP Request Nodes