OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Product Category

AI-generated

Summary

Create or update product categories in OnPrintShop by submitting one or more ProductCategoryInput objects. Choose Fields mode to enter category properties individually, or JSON Object mode to provide the input array directly; the node returns the API’s per-input result details.

Inputs

  • Safe Mode — The UI declares this toggle as blocking mutations in Complete API, but the supplied source pack does not show the Complete API implementation, so its runtime effect cannot be confirmed here.
  • Input Mode — Choose Fields to build inputs with the category fields below, or JSON Object to supply the arguments as JSON.
  • Inputs (required) — In Fields mode, add one or more category entries. Available optional properties include category ID, name and internal name, parent ID, status, sort order, delete flag, external reference, descriptions, image and icon fields, URL, display category, metadata, and SEO/schema fields.
  • Arguments JSON — In JSON Object mode, provide the mutation arguments. The underlying mutation expects inputs as an array of ProductCategoryInput objects; a bare object or wrapper is rejected.
  • Partial Response — Select whether to fail on errors or return partial data. Partial results may include failures that need reconciliation before further writes.
  • Return Fields Mode — Choose all result fields or a custom selection.
  • Return Fields — When Custom Selection is chosen, select among External Ref, ID, Index, Message, and Result.

Output shape

A list of result items, with one returned object per API mutation result.

Each result can include index, result, message, id, and external_ref; the selected return field mode controls which are returned. The mutation processes an array of inputs, and GraphQL errors are raised unless partial-response handling applies.

Links

Discussion