OnPrintShop Product Builder icon

OnPrintShop Product Builder

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

Actions62

Complete API → Set Product Option Rules

AI-generated

Summary

Set product option rules in OnPrintShop using the Complete API. Provide the required input object in Fields or JSON Object mode, then choose which response fields to return.

Inputs

  • Input Mode — Choose Fields to enter individual rule fields, or JSON Object to provide the API arguments as JSON.
  • Input (required) — Required ProductOptionRulesInput object. Available fields include rule ID, name, type, status, condition and comparison value, source and hidden option/attribute/size IDs, custom parameter values and ranges, quantity settings, sorting, deletion, and admin visibility. The optional opt_textbox_conditions field accepts a JSON scalar.
  • Arguments JSON — In JSON Object mode, provide the API arguments as a JSON object.
  • Partial Response — Choose to fail on errors or return partial data. Partial results may contain failures that need reconciliation.
  • Return Fields Mode — Return all fields or select a custom subset.
  • Return Fields — When custom selection is enabled, choose ID, message, or result.
  • Safe Mode — The declared setting blocks mutations in Complete API. Its runtime effect is not visible in the provided source pack.

Output shape

A response with selectable ID, message, and result fields.

The provided source pack only shows the node wrapper; it does not expose the operation implementation or confirm the exact response shape. Partial Response can allow partial data when errors occur.

Links

Discussion