OnPrintShop Product Builder icon

OnPrintShop Product Builder

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

Actions62

Complete API → Set Custom Formula

AI-generated

Summary

Sets a custom formula in OnPrintShop using the Complete API. Supply the formula fields or a JSON arguments object, then choose which response fields to return.

Inputs

  • Safe Mode — Defaults to false. When enabled, blocks mutations in the Complete API, so this write operation will not run.
  • Input Mode — Choose Fields to enter the input fields, or JSON Object to provide the API arguments as JSON.
  • Input (required) — In Fields mode, provide the CustomFormulaInput object. Optional fields are Delete (integer), Formula ID (integer), Formula Label (string), and Formula Syntax (string).
  • Arguments JSON — In JSON Object mode, provide the API arguments. Defaults to {}.
  • Partial Response — Choose Fail on Errors or Return Partial Data. Partial results may contain failures; reconcile each row before making further writes.
  • Return Fields Mode — Choose All Fields or Custom Selection.
  • Return Fields — In Custom Selection mode, choose any of ID, Message, or Result.

Output shape

A single API response record containing the selected return fields.

The response fields are ID, Message, and Result. With All Fields selected (the default), all available fields are returned. Partial Data mode may return results that include failures.

Links

Discussion