Actions62
- Markup Master Actions
- Master Option Range Actions
- Master Option Tag Actions
- Mutation Actions
- Assign Options
- Set Additional Option (Beta)
- Set Additional Option Attributes (Beta)
- Set Markup Master (Legacy Alias)
- Set Master Option
- Set Master Option Attribute Price
- Set Master Option Attributes
- Set Master Option Rules (Legacy Alias)
- Set Master Option Tags
- Set Option Formulas
- Set Option Group
- Set Product
- Set Product Category
- Set Product Image Gallery
- Set Product Option Rules
- Set Product Pages
- Set Product Price
- Set Product Size
- Set Product SKU (Staging)
- Set Products Attribute Price (Beta)
- Set Quantity Based Attribute Price (Beta)
- Option Formula Actions
- Option Group Actions
- Product Actions
- Product Additional Option Actions
- Product Additional Attribute Price Actions
- Quantity Based Attribute Price Actions
- Complete API Actions
- Get Custom Formula
- Get Master Option Range
- Get Master Option Tag
- Get Option Group
- Set Additional Option
- Set Additional Option Attributes
- 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 Tag
- Set Option Group
- Set Product
- Set Product Category
- Set Product Option Rules
- Set Product Pages
- Set Product Price
- Set Product Size
- Set Product SKU
- Set Products Attribute Price
- Set Products Image Gallery
- Set Quantity Based Attribute Price
Mutation → Set Product Size
AI-generatedSummary
Creates or updates one or more product sizes in OnPrintShop. Provide size inputs as a JSON array or build them with the Fields editor; use product detailed reads to check size IDs and sort order.
Inputs
- Safe Mode — Defaults to false. In Complete API mode, blocks mutations; in legacy actions, reduces nested response fields.
- Input Mode — Choose JSON Array or Fields for entering sizes.
- Inputs (JSON Object Array) (required) — In JSON Array mode, provide a ProductSizeInput array, such as [{"products_id":123,"size_title":"Large"}]. The UI default is [{}].
- Sizes — In Fields mode, add one or more size entries. Fields include size ID, product ID, title, image URL, and additional values such as dimensions, visibility, default size, setup cost, and sort order. The image URL must be directly accessible to OnPrintShop and kept available until background processing completes.
Output shape
Not shown in the supplied source pack.
The supplied file only delegates the node description to shared domain code; it does not show the mutation implementation or its return shape.
Examples
Example 1: Create one size using the required JSON array input.
Input Mode: JSON Array; Inputs: [{"products_id":123,"size_title":"Large"}]