OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Product Pages

AI-generated

Summary

Create or update product page records in OnPrintShop with one GraphQL batch mutation. Provide a JSON array of ProductPagesInput objects; set sort_order and visible explicitly for each page.

Inputs

  • Safe Mode — Defaults to false. In Complete API mode, blocks mutations; for legacy actions, reduces nested response fields.
  • Inputs (JSON Object Array) (required) — A JSON array of ProductPagesInput objects, one per page record to set. Bare objects and wrapper objects are rejected. Keep sort_order and visible explicit.

Output shape

A list of items containing the mutation result.

The result includes the API's index, result, message, and id fields. GraphQL errors or invalid JSON/non-array input cause an operation error unless the node is set to continue on fail.

Links

Discussion