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 Batch
AI-generatedSummary
Creates or updates an OnPrintShop batch using a batch ID and a JSON input object. The default input includes batch details, print and finishing instructions, file and image links, and jobs.
Inputs
- Safe Mode — Defaults to false. The UI describes this as blocking mutations in the Complete API; for legacy actions, it retains reduced-response behavior. The source pack does not expose the runtime implementation for this operation.
- Batch ID — Batch ID; 0 is documented as creating a new batch.
- Input (JSON) (required) — A SetBatchMasterInput JSON object. The default template includes batch_name, nesting_size, nest_width, nest_height, print_count, send_mail, print_instructions, finishing_instructions, front and rear print/cut filenames and image links, and jobs.
Output shape
Not established by the provided source pack.
The pack contains only the node entry module, which delegates its description and execution to modules not included in the pack. The properties describe a mutation that creates or updates a batch, but do not specify its returned data.