OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Product → Get Category

AI-generated

Summary

Retrieve a product category from OnPrintShop by its numeric category ID. Choose which category fields to request; the default selection includes identity, hierarchy, display, description, SEO, status, and external reference fields.

Inputs

  • Category ID (required) — Category ID to retrieve. The value must parse as a number.
  • Query Parameters — Optional pagination controls: Limit (default 50) and Offset (default 0).
  • Category Fields Mode — Choose a custom field selection, all available category fields, or no fields from this group. Defaults to Custom Selection.
  • Category Fields — Fields returned in custom mode, including category name, image, URL, parent ID, descriptions, SEO metadata, sort order, status, and external reference. Defaults to all listed fields.
  • Safe Mode — Declared as blocking mutations in Complete API; for legacy actions it retains reduced-response behavior. This read operation makes no mutation.

Output shape

A list of category records, one n8n output item per returned category.

Each record includes the selected fields and a _totalCategories count. If the API returns no category, the operation outputs an object with an error message and the parsed categoryId. GraphQL or unexpected response errors fail the operation unless Continue On Fail is enabled.

Links

Discussion