Shopier icon

Shopier

Interact with Shopier API

Actions5

Overview

This node interacts with the Shopier API to retrieve product data in bulk. Specifically, the "Get Many" operation under the "Product" resource fetches multiple products based on various filtering criteria and pagination controls.

Typical use cases include:

  • Synchronizing a product catalog from Shopier into another system.
  • Fetching filtered lists of products for reporting or inventory management.
  • Automating workflows that require batch processing of product information.

For example, you might use this node to get all physical products currently in stock that have discounts applied, or to retrieve products belonging to specific categories or selections.

Properties

Name Meaning
Return All Whether to return all matching products or limit the number of results.
Limit The maximum number of products to return if not returning all. Minimum value is 1.
Filters A collection of filters to narrow down the product list:
- Category IDs Filter products by one or more category IDs. You can specify multiple category IDs to include only products within those categories.
- Custom Listing Filter products by whether they are part of customized listings (true/false).
- Discount Filter products that currently have discounts applied (true/false).
- Product Type Filter by product type: either "Physical" or "Digital".
- Selection IDs Filter products by one or more selection IDs. Similar to category filtering but based on selections.
- Shipping Payer Filter by who pays for shipping: "Buyer Pays" or "Seller Pays".
- Stock Status Filter by stock availability: "In Stock" or "Out of Stock".

Output

The node outputs an array of JSON objects representing the retrieved products. Each object contains product details as returned by the Shopier API, such as product identifiers, names, types, pricing, stock status, discount information, categories, selections, and shipping payer details.

If binary data were involved (e.g., product images), it would be included in a separate binary property, but this node focuses on JSON product data only.

Dependencies

  • Requires an API key credential for authenticating with the Shopier API.
  • The node makes HTTP requests to https://api.shopier.com.
  • No additional external dependencies beyond the Shopier API and n8n's standard HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Providing invalid filter values (e.g., non-existent category or selection IDs) may result in empty responses or errors.
    • Setting "Return All" to false but specifying a very high "Limit" could lead to partial data retrieval if the API enforces its own limits.
  • Error messages:

    • "The operation \"getMany\" is not supported for resource \"product\"": This indicates an unsupported operation-resource combination; ensure you select valid options.
    • Network or API errors will typically propagate as error messages; verify network connectivity and API key validity.
  • To resolve errors, check your API credentials, validate filter inputs, and consult Shopier API documentation for any restrictions.

Links and References

Discussion