OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Master Option Stock Settings

AI-generated

Summary

Set master option stock settings in OnPrintShop by sending a batch of option IDs with their out-of-stock ordering and notification quantity values. The operation makes a write request and returns the API’s per-row result details.

Inputs

  • Safe Mode — Blocks mutations in Complete API when enabled; defaults to off.
  • Input Mode — Choose Fields to build input rows in the node or JSON Object to provide the arguments as JSON.
  • Inputs (required) — In Fields mode, add one or more rows. Each row requires Option ID (integer), Allow Order Out Of Stock (integer, default 0), and Notify Quantity (integer, default 0).
  • Arguments JSON — In JSON Object mode, provide the GraphQL arguments as JSON. The mutation expects an inputs array of SetMasterOptionStockSettingsInput objects.
  • Partial Response — Choose whether GraphQL partial results with errors fail the operation or return partial data. Defaults to Fail on Errors; reconcile every row if returning partial data.
  • Return Fields Mode — Return all mutation result fields or choose a custom selection.
  • Return Fields — When custom selection is enabled, select any of: ID, Index, Message, Result.

Output shape

A list of result items, normally one mutation result object containing per-row status details.

The mutation selects index, result, message, and id; custom return-field selection can limit these fields. GraphQL errors fail the operation by default, while Return Partial Data may include failed rows. Safe Mode blocks the write when enabled.

Links

Discussion