Actions42
- Attribute Actions
- Attribute Price Actions
- Formula Actions
- Master Option Actions
- Option Group Actions
- Range Actions
- Rule Actions
- Stock Actions
- Tag Actions
- Complete API Actions
- Get Custom Formula
- Get Master Option Combination Matrix
- Get Master Option Range
- Get Master Option Stock Configs
- Get Master Option Stock History
- Get Master Option Tag
- Get Option Group
- Product Master Options
- Add Master Option Stock Config
- Delete Master Option Stock Config
- Set Assign Options
- Set Custom Formula
- Set Master Option
- Set Master Option Attribute Price
- Set Master Option Attributes
- Set Master Option Range
- Set Master Option Stock Settings
- Set Master Option Tag
- Set Option Group
- Update Master Option Stock
Complete API → Set Master Option Tag
AI-generatedSummary
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.