OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Master Option Stock → Get Combination Matrix (Staging)

AI-generated

Summary

Generates a staging combination matrix for the supplied master option IDs. Use the result to review valid option and attribute combinations before creating master-option stock configurations.

Inputs

  • Option IDs (JSON Array) (required) — Non-empty JSON array of master option IDs, for example [50, 52]. Defaults to [50, 52].
  • Safe Mode — Boolean safety setting. This operation performs a query, and its code does not use Safe Mode.

Output shape

A single record containing the API’s combination matrix result.

The result includes a matrix of combinations with option_ids and attribute_ids, plus totalRecords. The operation sends one GraphQL query per input item; invalid JSON or an empty/non-array option ID value raises an error.

Links

Discussion