OnPrintShop Product Builder icon

OnPrintShop Product Builder

Create and maintain OnPrintShop products, categories, prices, sizes, pages, SKUs, and master options

Actions62

Mutation → Set Product Category

AI-generated

Summary

Set or update product categories in OnPrintShop by providing category details either as a JSON array or through individual fields.

Inputs

  • Safe Mode — Boolean flag to block mutations in the Complete API or reduce nested response fields in legacy actions.
  • Input Mode (required) — Choose between providing categories as a JSON array or as separate field entries.
  • Inputs (JSON Object Array) (required) — Provide one or more product category objects in JSON format, each including fields such as category_id, category_name, descriptions, parent_id, status, and others.
  • Categories (Fields) (required) — Provide one or more product categories as field collections, including fields like category_id, category_name, category_image_url, category_icon_url, and many additional optional fields describing the category.

Output shape

a single record containing the mutation result from the OnPrintShop API

The mutation may return different response structures depending on API mode and safe mode setting; the node blocks mutations entirely in Complete API when safe mode is enabled.

Links

Discussion