OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Master Option Stock → Get Configs (Staging)

AI-generated

Summary

Retrieve master option stock configurations grouped by master option combinations. Use the returned config details to identify IDs for stock history, settings, or update operations.

Inputs

  • Safe Mode — Boolean toggle, default false. The source pack does not show this parameter affecting this operation.
  • Config ID — Optional config ID filter; the default is 0, which the operation omits from the request.
  • Limit — Maximum number of configurations to request; defaults to 20.
  • Offset — Number of configurations to skip; defaults to 0.
  • Option Filter (JSON Array) — Optional JSON array of option IDs, such as [52,59]. Defaults to []. The operation rejects values that are not arrays.

Output shape

A list of configuration group records, returned as n8n items.

Each group includes group_title, stock_type, stock_type_id, option_ids, allow_out_of_stock, notify_quantity, and a configs array with fields such as id, option_ids, attribute_ids, stock, type, credit_stock, debit_stock, stock_title, and stock_label. The response also includes totalRecords and currentCount. Limit and offset control the requested page; this operation does not auto-fetch additional pages.

Links

Discussion