OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Master Option Rules (Legacy Alias)

AI-generated

Summary

Create or update OnPrintShop product option rules by sending a ProductOptionRulesInput JSON object to the setProductOptionRules GraphQL mutation. This legacy alias returns the mutation result, message, and rule ID.

Inputs

  • Safe Mode — Optional toggle. For legacy actions, the node describes this as reducing nested response fields; no Safe Mode behavior is specific to this mutation.
  • Input (JSON) (required) — A JSON object conforming to ProductOptionRulesInput, such as rule identifiers and name, type, source and hidden option IDs, status, conditions, sort order, and delete flag. The example is a template; provide values appropriate to the rule.

Output shape

A single n8n output item containing the mutation response object.

The response includes result, message, and rule_id (selected from the API's id field). Invalid JSON or GraphQL errors fail the operation unless the node is configured to continue on fail.

Links

Discussion