OnPrintShop Orders icon

OnPrintShop Orders

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

Mutation → Set Shipment

AI-generated

Summary

Creates or updates a shipment for an OnPrintShop order, using the supplied order and shipment details. A shipment ID of 0 indicates a new shipment.

Inputs

  • Safe Mode — Defaults to false. In Complete API mode, blocks mutations; in legacy actions, retains reduced-response behavior.
  • Order ID (required) — Numeric ID of the order to update.
  • Shipment ID — Numeric shipment ID; use 0 for a new shipment. Defaults to 0.
  • Tracking Number — Tracking number for the shipment. Defaults to an empty string.
  • Shipment Info (JSON) (required) — JSON array of shipment data matching the current OnPrintShop API collection. The default includes package information fields for weight, dimensions, tracking, and opdata.

Output shape

A single response from the OnPrintShop mutation.

The source pack contains only the node wrapper, so the exact response fields are not shown. Safe Mode blocks mutations in Complete API mode and reduces nested response fields in legacy actions.

Links

Discussion