OnPrintShop Orders icon

OnPrintShop Orders

Read and update OnPrintShop orders, order products, shipments, batches, quotes, and statuses

Mutation → Set Order (Staging)

AI-generated

Summary

Creates or updates an OnPrintShop order using the supplied order details and product data. Safe Mode blocks mutations in the Complete API; for legacy actions, it reduces nested response fields.

Inputs

  • Safe Mode — Defaults to false. In the Complete API, blocks mutations; in legacy actions, reduces nested response fields.
  • User ID (required) — Numeric ID of the user associated with the order.
  • Order ID — Numeric order ID; use 0 to create a new order.
  • Order Title (required) — Title for the order.
  • Shipping Type — Selected shipping type ID.
  • Input (JSON) (required) — SetOrderInput JSON object, with productsArr for product data. Defaults to an object with an empty productsArr array.
  • Admin Extra Fields — Optional list of admin field key/value pairs.

Output shape

A single order result from the mutation.

The supplied source pack contains only the node wrapper, so it does not show the mutation's exact response fields or Safe Mode behavior. The properties identify this operation as a production-impacting create or update; the Safe Mode description is provided in the UI properties.

Links

Discussion