OnPrintShop Product Builder icon

OnPrintShop Product Builder

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

Actions62

Product → Get Options Rules

AI-generated

Summary

Retrieves selected fields for a single product option rule by its rule ID.

Inputs

  • Rule ID (required) — ID of the rule to retrieve.
  • Options Rules Fields Mode — Choose Custom Selection, All Fields, or No Fields. Defaults to Custom Selection.
  • Options Rules Fields — In Custom Selection mode, choose which fields to request: Action, Condition, Rule ID, Rule Name, Rule Type, and Sort Order. All are selected by default.
  • Safe Mode — Whether to block mutations in the Complete API; for legacy actions, reduces nested response fields. This operation is a read.

Output shape

A single product option rule record.

Returned fields follow the selected fields mode. The properties and provided source do not specify the response envelope or additional runtime behavior.

Examples

Example 1: safe mode value

Enable Safe Mode to reduce nested response fields in legacy actions. The operation is read-only, so its Complete API mutation-blocking behavior does not affect it.

Links

Discussion