OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Product Size

AI-generated

Summary

Create or update product sizes in OnPrintShop by submitting one or more ProductSizeInput objects. Choose Fields to build inputs from the form or JSON Object to provide the mutation arguments directly; Safe Mode blocks this mutation.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API.
  • Input Mode — Choose Fields to add one or more size inputs using the form, or JSON Object to provide Arguments JSON.
  • Inputs (required) — In Fields mode, add one or more size inputs. Optional fields include default_size, delete, products_id, setup_cost, site_language_id, size_height, size_hex_color, size_id, size_image, size_image_url, size_title, size_width, sort_order, and visible.
  • Arguments JSON — In JSON Object mode, provide the GraphQL mutation arguments as JSON.
  • Partial Response — Choose whether errors in partial results fail the operation or return partial data.
  • Return Fields Mode — Choose to return all response fields or a custom selection.
  • Return Fields — When Custom Selection is enabled, select any of id, index, message, and result.

Output shape

A list of items containing mutation results.

Each result can include index, result, message, and id, subject to Return Fields selection. Inputs are submitted as a batch array; invalid JSON, non-array batch inputs, or GraphQL errors fail the operation unless partial-result handling applies.

Links

Discussion