OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Update Order Status

AI-generated

Summary

Update an OnPrintShop order or order product’s status through a GraphQL mutation. Choose the target type and ID, then provide the status update fields as JSON.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API. The operation’s source does not apply this setting to this legacy mutation.
  • Type (required) — Select Order or Product to choose whether the update targets an order or an order product.
  • Orders ID — Order ID used when Type is Order. The node sends it only when nonzero.
  • Orders Products ID — Order product ID used when Type is Product. The node sends it only when nonzero.
  • Input (JSON) (required) — UpdateOrderStatusInput object. Supply the status in order_product_status; optional fields include courier_company_name, tracking_number, comment, and notify (0 or 1). The node also accepts the legacy courier_company_name misspelling courirer_company_name and normalizes it.

Output shape

A list of items, each containing the mutation result.

Each returned object includes result, message, and id. GraphQL errors are raised as node errors; with Continue On Fail enabled, an error item is returned instead.

Links

Discussion