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 Product
AI-generatedSummary
Creates or updates an order product line using its ID, dimensions, and a JSON input object. Safe Mode blocks this mutation when using the Complete API.
Inputs
- Safe Mode — Defaults to false. In the Complete API, blocks mutations; in legacy actions, reduces nested response fields.
- Order Product ID — ID of the order product to update.
- Width — Product width, with up to two decimal places.
- Height — Product height, with up to two decimal places.
- Input (JSON) (required) — SetOrderProductInput JSON object. The default includes lock_price, comment, and notify_customer.
Output shape
A single mutation result.
The provided source pack contains only the node entry module, so it does not show the runtime request or response shape.
Examples
Example 1: Block the mutation in the Complete API
Enable Safe Mode to prevent the write.
Example 2: Update an order product
Provide its ID, width, height, and a SetOrderProductInput JSON object.