OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Master Option Stock → Delete Stock Config (Staging)

AI-generated

Summary

Delete a master-option stock configuration in the OnPrintShop staging API by config ID, option IDs, or both. The operation makes a GraphQL mutation and returns its result, message, and ID fields.

Inputs

  • Config ID — Master option stock config ID. Enter 0 or leave it unset to omit this filter; use Get Configs to look up an ID.
  • Option IDs — Comma-separated option IDs, such as 59,89, passed to the API as a string. Provide this, a Config ID, or both; the node errors if both are omitted or zero/empty.
  • Safe Mode — Defaults to false. In Complete API mode this blocks mutations; for this legacy action it retains reduced-response behavior.

Output shape

A single n8n output containing the API mutation result object.

The result object includes index, result, message, and id. GraphQL errors are raised as node errors unless the workflow is configured to continue on fail.

Examples

Example 1: Delete by config ID

Set Config ID to the configuration to remove; leave Option IDs blank.

Example 2: Delete using option IDs

Set Option IDs to a comma-separated list such as 59,89; leave Config ID at 0.

Links

Discussion