OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Product Pages

AI-generated

Summary

Create or update product pages in OnPrintShop by sending one or more ProductPagesInput objects to the setProductPages mutation.

Inputs

  • Inputs (required) — Provide a JSON array of page input objects. Each may include delete, page_title, pages_id, products_id, sort_order, and visible. Use one object for a single page or multiple objects for a batch. In Fields mode, add one or more items and set these values under Additional Fields.
  • Input Mode — Choose Fields to build inputs with the repeatable form, or JSON Object to provide the mutation arguments as JSON. In JSON Object mode, supply an object containing an inputs array.
  • Safe Mode — When enabled for Complete API operations, blocks mutations; this write operation will not proceed.
  • Partial Response — Choose whether to fail on errors or return partial data. Reconcile every returned row before making further writes if partial data is returned.
  • Return Fields Mode — Choose all mutation response fields or a custom selection.
  • Return Fields — In Custom Selection mode, select any of index, result, message, and id to return.

Output shape

A list of result records from the mutation, with one output item per returned row.

Each row can include index, result, message, and id, depending on the selected return fields. GraphQL errors fail the operation unless partial response handling returns partial results.

Links

Discussion