OnPrintShop Master Options icon

OnPrintShop Master Options

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

Complete API → Set Master Option Tag

AI-generated

Summary

Set or update a master option tag in OnPrintShop by providing the tag's ID, name, and an optional delete flag. Use this operation to create, update, or delete master option tags via the Complete API.

Inputs

  • Input Mode (required) — Select input mode as Fields or JSON Object for providing the master option tag data.
  • Input (required) — Provide Master Option Tag information including optional Master Option Tag ID (for update/delete), Master Option Tag Name, and Delete flag (0 or 1).
  • Partial Response — Specify how to handle partial results: fail on errors or return partial data.
  • Return Fields Mode — Choose to return all fields or a custom selection of fields (ID, Message, Result).
  • Return Fields — Select specific fields to return when using custom return mode.

Output shape

a list of records

Returns the mutation response with fields for result status, message, and ID of the tag affected. Supports partial responses and custom field selections.

Examples

Example 1: Create or update a master option tag by specifying its ID and name. Use Delete flag 0 to create or update, or 1 to delete.

Input provided in Fields mode with parameters master_option_tag_id, master_option_tag_name, and delete flag.

Links

Discussion