OnPrintShop Master Options icon

OnPrintShop Master Options

Manage OnPrintShop master options, attributes, formulas, rules, ranges, prices, tags, groups, and stock

Complete API → Get Custom Formula

AI-generated

Summary

Retrieve one or more custom formulas from the OnPrintShop system using optional parameters like Formula ID, Limit, and Offset to filter and paginate results.

Inputs

  • Formula ID — Optional numeric filter to specify a particular custom formula by its ID.
  • Limit — Optional numeric value to limit the number of custom formulas returned.
  • Offset — Optional numeric value to specify the starting point of records to return for pagination.
  • Input Mode — Choose between providing parameters as individual fields or as a JSON object.
  • Return Fields Mode — Select whether to return all fields or a custom selection of fields.
  • Return Fields — When using custom return mode, specify which custom formula fields to include in the response.

Output shape

a list of custom formula records, each containing fields such as formula_id, formula_label, and formula_syntax, along with total count information

Supports optional pagination with Limit and Offset; if Formula ID is specified, results are filtered to that formula; output fields can be customized or set to all.

Links

Discussion