OnPrintShop Orders icon

OnPrintShop Orders

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

Complete API → Set Order

AI-generated

Summary

Sets an OnPrintShop order using the Complete API SetOrder operation. Supply the order title, user ID, and at least one product with its quantity; choose field-based inputs or provide the API arguments as JSON.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API. This write operation therefore will not perform its mutation in safe mode.
  • Input Mode — Choose Fields to build the input from the UI, or JSON Object to provide the operation arguments directly as JSON.
  • Input (required) — In Fields mode, provide one or more products (products_arr), each with required products_quantity. Product entries also accept optional cost, customer price, dimensions, product and size identifiers or names, SKU, job title, options, and other listed fields.
  • Order Title (required) — The order title (order_title). Fields mode only.
  • Userid (required) — The user ID (userid). Fields mode only.
  • Parameters — Optional Fields-mode arguments: admin extra fields, order ID, order product status, and selected shipping type.
  • Arguments JSON — In JSON Object mode, provide the SetOrder arguments as JSON. The UI does not enforce individual fields in this mode; use the API input shape.
  • Partial Response — Choose whether to fail on errors or return partial data. Partial results may contain failures and should be reconciled before further writes.
  • Return Fields Mode — Return all available fields or choose a custom selection.
  • Return Fields — When Custom Selection is chosen, select from id, message, and result.

Output shape

A response from the SetOrder API operation, with all fields or the selected fields.

The declared selectable response fields are id, message, and result. Partial Data mode may return results containing failures.

Links

Discussion