OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Get Option Group

AI-generated

Summary

Reads OnPrintShop option groups, optionally filtering by group ID or use_for, with limit and offset pagination. Returns one n8n item per group, including the total group count.

Inputs

  • Safe Mode — A global safety toggle. The supplied source documents Safe Mode behavior for other operations, but does not apply it in this option group handler.
  • Input Mode — Choose Fields to enter parameters individually or JSON Object to supply the GraphQL arguments as JSON.
  • Parameters — In Fields mode, optionally set Limit, Offset, Prod Add Opt Group ID, and Use For. The handler sends nonzero numeric values and nonempty use_for; absent values are omitted.
  • Arguments JSON — In JSON Object mode, provide the GraphQL arguments object for getOptionGroup.
  • Return Fields Mode — Choose All Fields or Custom Selection for the returned fields.
  • Return Fields — In Custom Selection mode, select fields such as the group display style, collapse setting, name, option count, ID, sort order, and use_for. The source selects a fixed field set and does not read this setting in the Complete API handler.

Output shape

A list of items, one per option group.

Each item contains the group fields requested by the API and _totalOptionGroup. The Complete API handler’s query selects the group ID, name, and use_for; it does not use the configured return-field selection for this operation. GraphQL errors are raised as node errors.

Links

Discussion