Actions57
- Batch Actions
- Mutation Actions
- Order Actions
- Order Detail Actions
- Order Product Actions
- Order Shipment Actions
- Quote Actions
- Quote Product Actions
- Ship To Multiple Actions
- Status Actions
- Complete API Actions
- Get Batch
- Get Quote
- Order Billing Details
- Order Blind Details
- Order Delivery Details
- Order Products
- Order Shipment Details
- Order Status
- Order Summary
- Orders
- Quoteproduct
- Ship To Multiple Address
- Modify Order Product
- Set Batch
- Set Batch Job
- Set Order
- Set Order Product
- Set Order Product Image
- Set Order Product Image From URL
- Set Product Design
- Set Quote
- Set Shipment
- Update Order Status
Mutation → Set Order (Staging)
AI-generatedSummary
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.