OnPrintShop Orders icon

OnPrintShop Orders

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

Mutation → Set Quote

AI-generated

Summary

Creates or updates an OnPrintShop quote for a user, with product details and optional shipping type and admin extra fields. Set Quote is a mutation; Safe Mode blocks mutations in the Complete API.

Inputs

  • User ID (required) — Numeric user ID associated with the quote.
  • Quote ID — Numeric quote ID; use 0 to create a new quote.
  • Quote Title (required) — Title for the quote.
  • Shipping Type — Shipping type, for example fedexground.
  • Input (JSON) (required) — A SetQuoteInput JSON object, with productsArr for the quote's products.
  • Admin Extra Fields — Optional key/value fields to include with the quote.
  • Safe Mode — Defaults to false. In Complete API mode, blocks mutations; for legacy actions, reduces nested response fields.

Output shape

Not specified by the provided source.

The entry module delegates execution to the shared domain node implementation, which is not included in this source pack. The returned data shape cannot be determined here.

Examples

Example 1: Create a quote

Set Quote ID to 0, provide the User ID and Quote Title, and supply a SetQuoteInput JSON object with productsArr.

Example 2: Update a quote

Provide the existing Quote ID along with the required User ID, Quote Title, and SetQuoteInput JSON object.

Links

Discussion