OnPrintShop Product Builder icon

OnPrintShop Product Builder

Create and maintain OnPrintShop products, categories, prices, sizes, pages, SKUs, and master options

Actions62

Mutation → Set Additional Option Attributes (Beta)

AI-generated

Summary

Set or update attributes under a product additional option by providing an array of attribute input objects with various optional fields such as labels, image URLs, and metadata.

Inputs

  • Safe Mode — Optional boolean to block mutations in Complete API or reduce nested response fields in legacy actions; defaults to false.
  • Input Mode (required) — Choose between providing the additional option attributes as a JSON array or as structured fields.
  • Inputs (JSON Object Array) (required) — When 'Input Mode' is JSON Array, provide one or more AdditionalOptionAttributesInput objects defining attribute details.
  • Attributes (required) — When 'Input Mode' is Fields, provide one or more attribute entries with properties like attribute ID, product additional option ID, label, image URLs, and other optional fields.

Output shape

a single record with response fields as returned by the OnPrintShop API for the setAdditionalOptionAttributes mutation

The output corresponds to the mutation result from the OnPrintShop API; exact fields depend on the API response and the safe mode setting.

Links

Discussion